🛠️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.