1

Is there a way I can get request http headers from my index.html page in a JS script?

Meaning not using AJAX.

palnic
  • 137
  • 1
  • 10
  • If u use Jquery see: https://stackoverflow.com/questions/7694619/how-to-send-a-get-request-with-params-without-ajax – Bjop Feb 04 '22 at 11:22
  • Does this answer your question? [Accessing the web page's HTTP Headers in JavaScript](https://stackoverflow.com/questions/220231/accessing-the-web-pages-http-headers-in-javascript) – codingmaster398 Feb 04 '22 at 11:31

0 Answers0