Member-only story
The Complete Journey of HTTP Requests from Client to Server Explained
HTTP is designed to be a stateless protocol, which means that it doesn’t save any state and each HTTP request is independent from previous and next requests. To make things easier to understand let’s visualize this
This seems very simple communication, but under the hood there are much more thing happening.
In order to understand the full cycle, let’s understand what is OSI model.
OSI Model
The Open Systems Interconnection (OSI) model describes seven layers that computer systems use to communicate over a network. It was the first standard model for network communications, adopted by all major computer and telecommunication companies in the early 1980s. Many other models eveolved to simplify the model like TCP/IP where some logical layers are combined. However, any communication can still be represented by OSI Model.
There are seven layers in the OSI Model:
- Application Layer: Enables communication between user applications and the network, providing access to network services and resources.
- Presentation Layer: Translates, encrypts, and formats data for efficient transmission between applications, ensuring compatibility.
- Session Layer…