Test Post

All backend technologies and web APIs are based on one system that is The Request-Response Cycle. The system is responsible for data interchange between client and servers. Even the new technologies based on micro-services use the Request/Response cycle.

Request/Response objects are transmitted over the web. Content like images, HTML, CSS, JavaScript is all Response Objects. In this article, we will learn about these objects. We will learn how Django interacts with the web which means the whole process of Django getting a request and giving a response.

How does Web Work?

It’s simple yet a very important aspect to understand. So, basically, any application over the internet works by passing information. This information is often passed as objects. The objects mentioned here comprises of various files or properties. These objects can contain files as attachments. It is a very similar concept to emails.

These interchanges between various servers and client machines following a set of rules. That set of rules is called HTTP. HTTP stands for HyperText Transfer Protocol. It’s simply a set of rules, a common standard followed by devices to connect to each other over the internet. The information sent or received is given the name of request and response.





Request Objects contain the request made by the client. The server responds with the appropriate information according to Request Object. On the other hand, the Response Object is information served by the server to the client. It all makes sense now? Wait, there’s still more


The below figure clearly explains how the web works. Well, it does that on a very high-level perspective. In this figure, both the client and server are using HTTP. If both of them don’t have the same protocol, the connection can not be done. Just like humans need to have a common language to understand each other. The same way, various computers and machines over the internet need to have the same protocol. At least the one through which they communicate.


Leave a Reply

Your email address will not be published. Required fields are marked *