This HTTP methods (verbs) reference lists the request methods used by REST APIs and the web — GET, POST, PUT, PATCH, DELETE and more — with whether each is safe (no side effects) and idempotent (repeating gives the same result).
| Method | Purpose | Safe | Idempotent |
|---|---|---|---|
| GET | Retrieve data | Yes | Yes |
| POST | Create / submit data | No | No |
| PUT | Replace a resource | No | Yes |
| PATCH | Partially update | No | No |
| DELETE | Remove a resource | No | Yes |
| HEAD | GET headers only | Yes | Yes |
| OPTIONS | Allowed methods | Yes | Yes |
| CONNECT | Open a tunnel | No | No |
| TRACE | Echo the request | Yes | Yes |