HTTP Methods
Every HTTP method, with safety / idempotency / cacheability properties and a real-world example.
Read a resource. Should never have side effects.
Same as GET but only returns headers — no body. Useful for checking existence or size before downloading.
Ask the server what methods/headers are allowed. Used by CORS preflight.
Create a new resource, or any non-idempotent operation. Multiple POSTs may create multiple resources.
Replace a resource entirely. Same PUT twice = same result.
Partial update. Send only the fields to change.
Remove a resource. Idempotent — second delete returns 404 or 204.
Establish a tunnel through a proxy. Mostly used for HTTPS via HTTP proxy.
Echo the received request — for debugging the request chain. Often disabled for security.