Access-Control-Request-Method
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
요청 헤더 Access-Control-Request-Method는 실제 요청이 만들어질 때 클라이언트가 보낼 수도 있는 HTTP headers를 서버에게 알리기 위해 브라우저가 preflight request를 발급(issue)할 때 사용됩니다. 사전 요청(preflight request)은 항상 OPTIONS
이며 실제 요청과 동일한 메소드를 사용하지 않으므로 이 헤더가 필요합니다.
Header type | Request header |
---|---|
Forbidden header name | yes |
구문
Access-Control-Request-Method: <method>
지시어
<method>
-
HTTP request methods 중 하나. 예를 들어
GET
,POST
, 또는DELETE
.
예제
Access-Control-Request-Method: POST
명세
Specification |
---|
Fetch # http-access-control-request-method |
브라우저 호환성
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Access-Control-Request-Method |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on 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.