Open In App

HTTP headers | Access-Control-Request-Method

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.

Syntax:



Access-Control-Request-Method: <method>

Directives: This header accept a single directive which is mentioned above and described below:

Note: Multiple methods can be used when the actual request will be made.



Example:

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:

Article Tags :