9

Creating a RESTful API with FastAPI

In the last chapter, we learned about a framework called Flask. Flask represents Python in a landscape of traditional web development frameworks designed to generate content on the server and send it back to the browser. This is how we have developed web applications for decades. The 2010s brought a paradigm shift, but it didn’t happen overnight.

In 2004, the term AJAX, an acronym for Asynchronous JavaScript and XML, was coined by Jesse James Garrett in an article titled Ajax: A New Approach to Web Applications. This article helped popularize the concept and techniques of asynchronous web applications. By 2005, mainstream browsers all supported a new XMLHttpRequest (XHR) web API call. The feature allowed ...

Get Hands-On Application Development with PyCharm - Second Edition 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.