Verb | REST Example | Usage |
---|---|---|
GET |
https://api.com/users | Read all users as a collection |
POST |
https://api.com/users | Create new user |
GET |
https://api.com/users/{id} | Read single user by id |
PUT |
https://api.com/users/{id} | Update user by id with complete representation |
DELETE |
https://api.com/users/{id} | Delete user by id |
PATCH |
https://api.com/users/{id} | Partial update |