Book Image

Building Web Applications with Flask

By : Italo M Campelo Maia, Jack Stouffer, Gareth Dwyer, Italo Maia
Book Image

Building Web Applications with Flask

By: Italo M Campelo Maia, Jack Stouffer, Gareth Dwyer, Italo Maia

Overview of this book

Table of Contents (17 chapters)
Building Web Applications with Flask
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 6. But I Wanna REST Mom, Now!

REST is an architectural style that has been gaining momentum these last few years due to its many features and architectural constraints such as cacheability, stateless behavior, and its interface requirement.

Our focus in this chapter will be on RESTful Web Services and APIs—that is, Web services and Web APIs following the REST architecture. Let's start at the beginning: what is a Web service?

A Web service is a Web application that can be consulted by your application as if it was an API, improving the user experience. If your RESTful Web service does not need to be called from a traditional UI interface, and may be used standalone, then what you have is a RESTful Web Service API, "RESTful API" for short, that works just like a regular API, but through...