2

in one page i need to after click my url redirect to external Link and i send token in header to this Link, i write redirect with window.location but i dont know how to send token in header

  handleModalContinue = (e) => {
        e.preventDefault();
            window.location.href = "http://something.com"

    };
fariba riazi
  • 41
  • 1
  • 6
  • 2
    It's not possible to send headers when redirecting to another page. See https://stackoverflow.com/questions/35236874/setting-custom-request-header-on-a-page-redirect – Adam Kosmala Aug 19 '19 at 06:52

0 Answers0