What Is RESTful?
This chapter explores what a service following the REST architectural style should look like to a caller. Considering that such an API is supposed to better leverage the HTTP protocol and its various aspects, focusing on HTTP verbs and resources, its interface will be markedly different from your typical RPC-style API. So, as we design the service, we will compare the REST approach with a more traditional RPC or SOAP approach.
Throughout this book, we will be working on a service for managing tasks. It’s not terribly exciting; however, the lack of domain excitement will let you focus on the technical aspects of the ...