DevKits

CORS · Response header

Access-Control-Allow-Methods

Which HTTP methods are allowed on the cross-origin resource.

What is Access-Control-Allow-Methods?

Sent in response to a CORS preflight (OPTIONS request) to indicate which methods the actual request may use.

Typical usage

Set on OPTIONS preflight responses.

Examples

Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS

Specification

Fetch Standard §CORS

Related headers