Curl OPTIONS Request [Curl/Bash Code]

An example of sending an OPTIONS request with Curl. Browsers send OPTIONS requests when making a CORS request to another origin. To make an OPTIONS request using Curl, you must pass the -X OPTIONS command-line parameter to the Curl. The OPTIONS request does not return any data. All information is returned in the response headers. The Curl/Bash code was automatically generated for the Curl OPTIONS Request example.
Loading...