Safe
GET
GET /articles HTTP/1.1Requests a representation. Safe and idempotent by defined semantics.
HTTP reference
Compare common request methods, safety and idempotency. These properties describe semantics, not an authorization guarantee.
9 of 9 entries
Safe
GET /articles HTTP/1.1Requests a representation. Safe and idempotent by defined semantics.
Safe
HEAD /articles HTTP/1.1Like GET without response content; useful for representation metadata.
Safe
OPTIONS /articles HTTP/1.1Requests communication options; browsers also use it for CORS preflight.
Write
POST /articles HTTP/1.1Requests resource-specific processing. Idempotency is not guaranteed by the method.
Write
PUT /articles/42 HTTP/1.1Creates or replaces target state according to the representation; defined as idempotent.
Write
DELETE /articles/42 HTTP/1.1Removes the target association. Idempotent semantics do not require identical repeated response codes.
Write
PATCH /articles/42 HTTP/1.1Applies a partial modification. Idempotency depends on the patch operation and API design.
Tunnel
CONNECT example.com:443 HTTP/1.1Requests a tunnel through a proxy; it is not a regular resource fetch.
Diagnostic
TRACE / HTTP/1.1Diagnostic loopback with safe, idempotent semantics; commonly restricted by servers.