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