April 2018
Intermediate to advanced
178 pages
3h 51m
English
In this chapter, we discussed in detail how resources should be exposed via a RESTful API; we paid close attention to URL best practices and looked into appropriate usage of the HTTP status codes indicating each state of our operations.
We covered the topics of versioning and extensibility, where we used the 301 Moved Permanently status code to automatically redirect API calls to different URLs.
Finally, we figured out how to semantically link our resource items to arbitrary binary represented data.