RUNWEBTOOLS
English

HTTP Methods Reference: GET, POST, PUT, DELETE and More

An HTTP method (or “verb”) tells the server what action a request wants to perform. The two properties in the table matter when designing APIs:

  • Safe — doesn't change server state (read-only).
  • Idempotent — repeating the request has the same effect as making it once.

Updated 2026-07-06

MethodPurposeSafeIdempotent
GETRetrieve a resource; should have no side effectsYesYes
HEADLike GET but returns headers only, no bodyYesYes
POSTCreate a resource or submit data for processingNoNo
PUTReplace a resource entirely with the request bodyNoYes
PATCHApply a partial update to a resourceNoNo
DELETERemove a resourceNoYes
OPTIONSAsk which methods/headers are allowed (CORS preflight)YesYes
CONNECTEstablish a tunnel to the server (used by proxies)NoNo
TRACEEcho the received request (diagnostics; often disabled)YesYes

Note the difference between PUT and PATCH: PUT replaces the whole resource (so sending it twice is idempotent), while PATCH applies a partial change (which may not be). Pair this with our status codes and headers references for the full picture of an HTTP request.

Related tools