April 2018
Intermediate to advanced
178 pages
3h 51m
English
The native HTTP protocol (RFC 2616) defines eight actions, also known as HTTP verbs:
The first four of them just feel natural in the context of resources, especially when defining actions for data manipulation. Let's make a parallel with relative SQL databases where the native language for data manipulation is CRUD (short for Create, Read, Update, and Delete), originating from the different types of SQL statements, INSERT, SELECT, UPDATE, and DELETE, respectively. In the same manner, if you apply the REST principles correctly, the HTTP verbs should be used as shown here:
| HTTP verb | Action | HTTP response status code |
| GET | Retrieves ... |