- GET (Safe & Idempotent)
- POST
- PUT (Idempotent)
- DELETE (Idempotent)
- HEAD
- OPTIONS
- TRACE
- CONNECT
Safe means that, when requested, it does not modify or cause any side effects on the state of the resource.
Idempotent means that, response stays the same, regardless of the number of times it is requested.
-
GET: Get a representation of the targer resource's state.
-
POST: Let the target resource process the representation enclosed in the request.
-
PUT: Set the target resource's state to the state defined by the representation enclosed in the request.
-
DELETE: Delete the target resource's state.