Chapter 7. RESTful API Building

An API, or Application Programming Interface, can be summarized as a developer's interface to the application. Just like end users have a visible frontend user interface to work on and talk to the application, developers also need a user interface to the application. REST, or REpresentational State Transfer, is not a protocol or a standard. It is just a software architectural style or a set of constraints defined for writing applications and aims at simplifying the interfaces within and outside the application. When web service APIs are written in a way to adhere to the REST constraints, then they are known as RESTful APIs. Being RESTful keeps the API decoupled from the internal application details. This results ...

Get Flask Framework Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.