HTTP methods
HTTP method lookup
Look up what each HTTP request method does and how it usually appears in APIs and web requests.
HTTP methods
| Method | Answer | Safe | Idempotent | Cacheable |
|---|---|---|---|---|
| GET | GET requests retrieve a resource without changing it. | Yes | Yes | Yes |
| HEAD | HEAD requests retrieve response headers without returning the response body. | Yes | Yes | Yes |
| POST | POST requests send data for the server to process. | No | No | Conditional |
| PUT | PUT requests replace the target resource with the request content. | No | Yes | No |
| PATCH | PATCH requests apply partial changes to a resource. | No | No | Conditional |
| DELETE | DELETE requests ask the server to remove the target resource. | No | Yes | No |
| OPTIONS | OPTIONS requests ask which communication options are available. | Yes | Yes | No |
| CONNECT | CONNECT requests establish a tunnel through the server. | No | No | No |
| TRACE | TRACE requests run a diagnostic loop-back of the request path. | Yes | Yes | No |