🛠️ToolsShed

HTTP メソッドリファレンス

HTTPメソッドの完全ガイド — GET・POST・PUT・DELETE・PATCHなど。

GET安全: はい冪等: はい

Retrieves a resource without modifying server state. The most commonly used HTTP method.

ユースケース: Fetching a webpage, API data, or file.

POST安全: いいえ冪等: いいえ

Submits data to the server to create a new resource or trigger a process.

ユースケース: Form submission, creating a new record via API.

PUT安全: いいえ冪等: はい

Replaces the entire target resource with the request payload.

ユースケース: Updating a user profile — replaces all fields.

PATCH安全: いいえ冪等: いいえ

Partially modifies a resource — only sends the fields that need updating.

ユースケース: Updating only the email of a user record.

DELETE安全: いいえ冪等: はい

Removes the target resource from the server.

ユースケース: Deleting a blog post or API record.

HEAD安全: はい冪等: はい

Same as GET but returns only headers, not the response body.

ユースケース: Checking if a URL exists or getting Content-Length.

OPTIONS安全: はい冪等: はい

Describes the communication options for the target resource. Used in CORS preflight.

ユースケース: CORS preflight requests.

TRACE安全: はい冪等: はい

Performs a message loop-back test along the path to the target resource.

ユースケース: Debugging proxy chains (rarely used, often disabled).

CONNECT安全: いいえ冪等: いいえ

Establishes a tunnel to the server identified by the target resource.

ユースケース: HTTPS tunneling through HTTP proxies.

Comments & Feedback

Comments are powered by Giscus. Sign in with GitHub to leave a comment.