HTTP – server and client relationship
While web development can be a very complex topic, we can simplify it by understanding the relationship between the server and the client in the typical web applications.
We have two main actors, the server and the client:
- Server: The server is the computer that is running the application, dealing with the database queries, and many other things. This server is often called the backend.
- Client: The client is the piece of software that the end user executes on the local machine in the case of web applications. The user employs a web browser to execute the software (HTML, CSS, JS, etc.). The client is often called the frontend.
The communication between the server and the client is done through HTTP. The client sends a request to the server and the server replies with a response. This is the typical request/response cycle
Request and response
The request and response are the two main parts of HTTP. The request is...