Sitemap

Hypertext Transfer Protocol-HTTP

2 min readMar 30, 2023

--

Press enter or click to view image in full size
Photo by Kevin Ku on Unsplash

HTTP stands for Hypertext Transfer Protocol. It is an application-layer protocol used for transmitting data over the internet. HTTP is the foundation of data communication on the World Wide Web.

HTTP uses a client-server architecture, where the client sends a request to the server, and the server responds with a response message. The client is typically a web browser or a mobile app, while the server is a web server or an application server.

HTTP requests and responses are typically sent over TCP/IP connections. HTTP requests consist of a request method, a URI (Uniform Resource Identifier), headers, and a message body (optional). HTTP responses consist of a response status code, headers, and a message body (optional).

Get Pratheepa Muthu’s stories in your inbox

Join Medium for free to get updates from this writer.

Some common HTTP request methods include:

  • GET: used to retrieve a resource from the server
  • POST: used to submit data to the server to create a new resource
  • PUT: used to update an existing resource on the server
  • DELETE: used to delete a resource from the server
  • HEAD: used to retrieve metadata about a resource without retrieving the resource itself

HTTP is used for a wide range of applications, including web browsing, file transfer, and email communication. It is also used for web services, which allow different software systems to communicate with each other over the internet.

--

--