The Access-Control-Allow-Methods header in CORS specifies which HTTP ________ are allowed.
- methods
- verbs
- headers
- origins
The Access-Control-Allow-Methods header in CORS specifies which HTTP methods are allowed for cross-origin requests. It should include a comma-separated list of HTTP methods such as GET, POST, PUT, DELETE, etc.
Loading...
Related Quiz
- Which method is commonly used in Node.js to handle errors in callbacks?
- In Node.js, how can data be written to a writable stream?
- In JavaScript, a closure is created when an inner function accesses the ________ of an outer function after the outer function has executed.
- Which of the following is true regarding the 'this' keyword inside an arrow function?
- Which of the following accurately describes Non-Blocking I/O in Node.js?