CORS
Access-Control-Allow-Methods
Specifies which HTTP methods are allowed in a CORS preflight response.
Syntax
Access-Control-Allow-Methods: <method>, <method>
Example
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
Description
Access-Control-Allow-Methods is used in CORS preflight responses to indicate allowed HTTP methods for cross-origin access.
Common values: GET, POST, PUT, DELETE, PATCH, OPTIONS. Preflight is sent for non-simple methods or custom headers.
Only list methods your API supports. Extra methods expand the attack surface.
Check if your website sends this header correctly
Check your headers →