What is HTTP?

HTTP (Hypertext Transfer Protocol) is a network protocol that lets devices request and receive webpages from servers like us. It’s widely used on the internet and operates at an application level. Web browsers are the most common clients of your website. When a browser wants to access a web page, it sends an HTTP Request message to the server. The server responds with the requested web page by default using TCP port 80

HTTP is a protocol for fetching information from the internet. It’s the foundation of data exchange on the web, and it’s how many websites store their content for use by your computer. It’s a “client-server” protocol, which means that your browser sends requests to another computer that manages its storage. A complete document can be reconstructed from different sub-documents, such as text, images and videos.

The client wants to access http://google.com and points their browser to the URL http://google.com (this is an example of an HTTP Request message). The web server hosting http://google.com receives the request and responds with the content of the webpage

When you type in an URL without specifying the port, browsers will use default port 80 to make a HTTP GET request. For example, requesting http://google.com and http://google.com:80 will return the same website content.

Leave a Reply

Your email address will not be published.