docs.rodeo

MDN Web Docs mirror

Access-Control-Allow-Methods

{{HTTPSidebar}} 

The HTTP Access-Control-Allow-Methods {{Glossary("response header")}}  specifies one or more HTTP request methods allowed when accessing a resource in response to a {{glossary("preflight request")}} .

Header type `{{Glossary("Response header")}}` 
`{{Glossary("Forbidden header name")}}`  No

Syntax

Access-Control-Allow-Methods: <method>, <method>, …
Access-Control-Allow-Methods: *

Directives

Examples

Access-Control-Allow-Methods: PUT, DELETE
Access-Control-Allow-Methods: *

Specifications

{{Specifications}} 

Browser compatibility

{{Compat}} 

See also

In this article

View on MDN