HTTP Methods
The HTTP method tells the server what kind of action you want.
| Method | Purpose | Body |
|---|---|---|
| GET | Retrieve a resource | No |
| POST | Create a resource | Yes |
| PUT | Replace a resource | Yes |
| PATCH | Partially update a resource | Yes |
| DELETE | Remove a resource | Optional |
| OPTIONS | CORS preflight, capabilities | No |