The HTTP protocol
The HTTP protocol serves as the foundation for data communication on the World Wide Web. It is the most prevalent protocol used today for data exchange. Although not formally required for REST APIs, nearly all of them utilize HTTP as the exchange protocol. In this book, we will continue with this approach. Understanding the basics of HTTP is crucial for reasoning about REST design constraints and maturity models. While we assume you are familiar with the basics of the HTTP protocol in this book, let’s briefly recap its most important aspects.
Characteristics of the HTTP protocol
Let’s take a closer look at the HTTP protocol’s characteristics:
- Client-server communication: HTTP operates as a client-server protocol. Requests are initiated by the client, typically a web browser or an application—and sent to a server. The server then processes the request and responds to the client. This characteristic emphasizes the client...