HTTP Method
Type of server request defining the intent.
Main Methods
| Method | Action |
|---|---|
| GET | Read |
| POST | Create or perform an action |
| PUT | Update completely |
| DELETE | Delete |
In API
REST API is built on methods: GET /products — list, POST /products — create, PUT /products/1 — update. Choosing the right method is part of API discipline.