X-Requested-With header

About

The X-Requested-With is a request header that a user agent may use to store information about the creation of the request such as client information, method used.

Note that the X-Requested-With cannot be added to a cross domain request without the consent of the server via CORS.

Syntax

Example with XHR.

X-Requested-With:XMLHttpRequest





Discover More
Chrome Devtool Xhr Fetch Request
Browser - XMLHttpRequest (XHR) API

The XMLHttpRequest is a web api function that performs an resource fetch with an Aysnchronous HTTP request XMLHttpRequestAPIAJAX programmingfetch API The status of an XHR request. Value Constant...



Share this page:
Follow us:
Task Runner