July 2018
Beginner to intermediate
668 pages
16h 29m
English
Our REST service handles a resource that is stored in a database table called PEOPLE. It provides CRUD methods, plus some specific features to paginate the data. Remember that RESTful doesn't mean expose the method to do CRUD on a table, but expose the method to handle a resource. A resource can, or cannot, have a representation on a database table. Moreover, a resource can be also very complex with multiple nested objects, so while a table can be represented as a simple resource, a resource is generally not a mere table but an object graph stored on one, two, or more tables, or not stored at all. This is the HTTP REST interface that we'll implement:
|
HTTP VERB |
URL |
DESCRIPTION |
|
GET |
/people |
Returns a JSON array ... |
Read now
Unlock full access