The OPTIONS HTTP method is used when the browser is making a ________ request to the server.

  • Preflight CORS
  • GET
  • POST
  • PUT
The OPTIONS HTTP method is used when the browser is making a preflight CORS request to the server. A preflight request is a CORS mechanism that checks if the actual request (e.g., a GET or POST) is safe to send to the server by first making an HTTP OPTIONS request to ensure the server allows the requested method and headers.
Add your answer
Loading...

Leave a comment

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