Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. HTTP
  3. Reference
  4. Headers
  5. Access-Control-Request-Method

Access-Control-Request-Method header

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⁩.

The HTTPAccess-Control-Request-Methodrequest header is used by browsers when issuing apreflight request to let the server know whichHTTP method will be used when the actual request is made.This header is necessary because the preflight request is always anOPTIONS and doesn't use the same method as the actual request.

Header typeRequest header
Forbidden request headerYes

Syntax

http
Access-Control-Request-Method: <method>

Directives

<method>

AnHTTP request method; for example,GET,POST, orDELETE.

Examples

http
Access-Control-Request-Method: POST

Specifications

Specification
Fetch
# http-access-control-request-method

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp