Representational State Transfer (REST) has gained lot of preference and popularity in the community and is virtually the default architectural style for designing and implementing RESTful web services.
Note that there are other possible implementations of web services for which you can follow the SOAP and XML-RPC way, these are not within the scope of this chapter.
In this recipe, we'll learn how to implement a simple RESTful web service using the Python flask micro framework. We'll implement a user service for user management, which is an imperative aspect of any web application.
The REST architecture is designed to fit with the HTTP protocol and has the notion of resources, that is, Uniform Resource Identifiers ...