Now that you have a Books model, you are well-equipped to handle the management of books. You will continue to follow your test-driven development workflow as you complete the remaining CRUD operations of the /books API.
Listing 5-1 shows a quick refresher of your /books RESTful endpoints.
Listing 5-1. Basic REST /books Resource
GET /books Get all the books
POST /books Create a new book
GET /books/{id} Get a book
PUT /books/{id} Update a book
DELETE /books/{id} Delete a book
Requesting an Individual Book
You are going to start off with the GET /books/{id} ...