Protocols
Saved & recent

HTTP methods

Also called: HTTP verbs, request methods

An HTTP method states the operation a client requests. GET retrieves a representation; POST asks a resource to process submitted content; PUT supplies a desired replacement state; DELETE requests removal of the target resource’s association. PATCH describes a partial modification under its own rules.

In a hypothetical notes API, GET /notes/7 reads a note while PUT /notes/7 replaces it. The method is part of the contract, not simply a convenient verb in a URL. Servers must implement that meaning consistently so clients and intermediaries can handle requests correctly.

Read first
HTTP
Related
Safe HTTP methods, Idempotency, REST
Further reading
note 7 /notes/7 read copy GET new note POST /notes replacement PUT /notes/7 DELETE /notes/7 hypothetical notes API
Hypothetical notes API: GET reads, this POST creates, PUT replaces, and DELETE removes the resource association. POST behavior is application-defined; deletion need not erase every stored copy.

View in the full Protocols collection