0

Is there a way in JavaScript to redirect to a different page with window.location, and some sender header.

Example:

I redirect from mypage.com to yourpage.com with a header in the redirect request, and when I reach yourpage.com, I should be able to get that header.

Is that possible by any way?

Muhammad Muaaz
  • 164
  • 1
  • 13
  • **Correction**: with `window.location`, and send some header. – Muhammad Muaaz Apr 15 '20 at 09:03
  • Does this answer your question? [Adding custom header in HTTP before redirect](https://stackoverflow.com/questions/34671199/adding-custom-header-in-http-before-redirect) – Simon S. Apr 15 '20 at 09:04

0 Answers0