RFC 9113 · Application Layer

HTTP Request & Response Lifecycle

Hypertext Transfer Protocol (HTTP) powers web APIs, document delivery, and WebSocket connection upgrades.

1. Request Methods & Semantics

MethodSafeIdempotentRole
GETYesYesRetrieve a resource without side effects.
POSTNoNoSubmit payloads or create resources.
PUTNoYesReplace a target resource completely.
DELETENoYesRemove the specified resource.

2. Conditional Caching Headers

GET /api/v1/config.json HTTP/1.1
Host: api.example.com
If-None-Match: "v4-9f82c1a"
Cache-Control: no-cache

3. Status Code Reference

4. Protocol Versions