--- title: Access-Control-Request-Method slug: Web/HTTP/Headers/Access-Control-Request-Method tags: - CORS - HTTP - Reference - header translation_of: Web/HTTP/Headers/Access-Control-Request-Method --- <div>{{HTTPSidebar}}</div> <p>요청 헤더 <strong><code>Access-Control-Request-Method</code></strong>는 실제 요청이 만들어질 때 클라이언트가 보낼 수도 있는 <a href="/en-US/docs/Web/HTTP/Headers">HTTP headers</a>를 서버에게 알리기 위해 브라우저가 {{glossary("preflight request")}}를 발급(issue)할 때 사용됩니다. 사전 요청(preflight request)은 항상 {{HTTPMethod("OPTIONS")}}이며 실제 요청과 동일한 메소드를 사용하지 않으므로 이 헤더가 필요합니다.</p> <table class="properties"> <tbody> <tr> <th scope="row">Header type</th> <td>{{Glossary("Request header")}}</td> </tr> <tr> <th scope="row">{{Glossary("Forbidden header name")}}</th> <td>yes</td> </tr> </tbody> </table> <h2 id="구문">구문</h2> <pre class="syntaxbox">Access-Control-Request-Method: <method> </pre> <h2 id="지시어">지시어</h2> <dl> <dt><method></dt> <dd><a href="/en-US/docs/Web/HTTP/Methods">HTTP request methods</a> 중 하나. 예를 들어 {{HTTPMethod("GET")}}, {{HTTPMethod("POST")}}, 또는 {{HTTPMethod("DELETE")}}.</dd> </dl> <h2 id="예제">예제</h2> <pre>Access-Control-Request-Method: POST</pre> <h2 id="명세">명세</h2> <table class="standard-table"> <tbody> <tr> <th scope="col">Specification</th> <th scope="col">Status</th> <th scope="col">Comment</th> </tr> <tr> <td>{{SpecName('Fetch','#http-access-control-request-method', 'Access-Control-Request-Method')}}</td> <td>{{Spec2("Fetch")}}</td> <td>Initial definition.</td> </tr> </tbody> </table> <h2 id="브라우저_호환성">브라우저 호환성</h2> <p>{{Compat("http.headers.Access-Control-Request-Method")}}</p> <h2 id="더보기">더보기</h2> <ul> <li>{{HTTPHeader("Access-Control-Request-Headers")}}</li> </ul>