--- title: Access-Control-Allow-Methods slug: Web/HTTP/Headers/Access-Control-Allow-Methods translation_of: Web/HTTP/Headers/Access-Control-Allow-Methods ---
La cabecera de respuesta Access-Control-Allow-Methods
especifica el método o los métodos aceptados cuando se accede al recurso en respuesta de un {{glossary("preflight request")}}.
Tipo de cabecera | {{Glossary("Response header")}} |
---|---|
{{Glossary("Forbidden header name")}} | no |
Access-Control-Allow-Methods: <method>, <method>, ...
Access-Control-Allow-Methods: POST, GET, OPTIONS
Specification | Status | Comment |
---|---|---|
{{SpecName('Fetch','#http-access-control-allow-methods', 'Access-Control-Allow-Methods')}} | {{Spec2("Fetch")}} | Initial definition |
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
{{Compat("http.headers.Access-Control-Allow-Methods")}}