What is HTTP?

HTTP (HyperText Transfer Protocol) is a communication protocol used for exchanging data on the web. It operates on a client-server model which means clients send requests, and servers respond to those requests.

Clients request resources using HTTP, and these requests are transmitted to the server through the TCP/IP protocol. The server then responds using HTTP, and the response, transmitted through the TCP/IP protocol, reaches the client.

📤  HTTP Request

An HTTP request is the way Internet communications platforms such as web browsers ask for the information they need to load a website.

What is in an HTTP Request?

  1. HTTP version type
  2. a URL
  3. an HTTP method
  4. HTTP request headers
  5. Optional HTTP body.

What is a URL?

A URL(Uniform Resource Locator) is the address of a specific resource on the network.

Types of HTTP Methods