HTTP: Basics Explained

·

1 min read

HTTP is a set of rules that describes how digital content moves between two computers on the web. HTTP stands for Hypertext Transfer Protocol.

Digital content or a resource is any file that can be stored and read on a computer, such as images, videos, scripts, text, etc. HTML documents are the most common type of resources when we talk about HTTP.

We'll call these two computers the client and the server. Both the client and server follow these rules of HTTP:

  • Both the client and the server send HTTP messages to each other to talk.

  • The client always starts the HTTP chat with the server.

  • The client sends a Request message to the server.

  • After receiving the Request, the server replies to the client with a Response message.

A single HTTP chat between a client and a server is also called an HTTP Request-Response cycle.

References: