The HTTP headers Access-Control-Request-Method is a request type header which has been used to inform the server that which HTTP method will be used when the actual request is made.
Directives: This header accept a single directive which is mentioned above and described below:
- <method>: This directive holds the method which will be used when the actual request is made.
Note: Multiple methods can be used when the actual request will be made.
Access-Control-Request-Method: GET, PUT
To check this Access-Control-Request-Method in action go to Inspect Element -> Network check the request header for Access-Control-Request-Method like below, Access-Control-Request-Method is highlighted you can see.
Supported Browsers: The browsers compatible with HTTP headers Access-Control-Request-Method are listed below:
- Google Chrome
- Internet Explorer
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.