Which HTTP method is used by the browser to send a preflight request?

  • GET
  • POST
  • OPTIONS
  • HEAD
The browser uses the HTTP OPTIONS method to send a preflight request when making a cross-origin request with certain headers or methods that may require server approval. The server should respond to the preflight request with appropriate CORS headers to indicate whether the actual request is allowed. The other HTTP methods are not used for preflight requests.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *