2013 | OriginalPaper | Chapter
Designing the Sample REST API
Activate our intelligent search to find suitable subject content or patents.
Select sections of text to find matching patents with Artificial Intelligence. powered by
Select sections of text to find additional relevant content using AI-assisted search. powered by
Thus far you’ve learned some basic principles of the REST architecture using the HTTP protocol, and you’re now ready to start working on your task-management service. But first, you’ll need to take some time to carefully build up tables of resource types, their available HTTP actions, and associated URIs—similar to what you did in the last chapter with the account service example. Modeling these types will be the most important part of this exercise, similar in kind to the importance of patiently and intentionally modeling a database. It pays to think it through and get it right. And, as you walk through the different resource types, you’ll begin examining some code (yeah!).