July 2017
Beginner to intermediate
358 pages
10h 54m
English
When designing great REST URIs we never use a CRUD function name as part of the URI, instead we use a HTTP verb. For example:
DELETE /cats/1234
We do not include the verb in the name of the method as this is specified by the HTTP verb, the following URIs would be considered an anti-pattern:
GET /deleteCat/1234 DELETE /deleteCat/1234 POST /cats/1234/delete
When we look at HTTP verbs in the next section this will make more sense.
Read now
Unlock full access