What is HTTP & HTTPS

HTTP/HTTPS 101

What is HTTP & HTTPS

Ever wondered, just like Bluetooth how files are sent across the internet?

HTTP which makes it possible

HTTP stands for Hyper-Text Transfer Protocol, created by Tim Berners-Lee, for sharing files like text, videos and audio across WWW. It works at topmost application layer designed to communicate between web browsers and servers using methods ( request/response)

Main Features of HTTP :

  1. Connectionless: A connection between application and server is only established when the client sends a request and receives a response, soon after connection is dropped.

  2. Stateless: After HTTP/2 version, HTTP servers discontinued storing information of the previous requests to provide scalability, making every request independent.

HTTP Request Methods:

Initially, it was created only for sharing HTML pages in form of hyperlinks ( Web1.0 ) for which only GET method was there, but with the evolution of WWW several types of request methods were added:

  1. GET - Used to retrieve data from server

  2. POST - Used to upload new data to server

  3. PUT - Used to edit pre-existing data on the server

  4. PATCH - Just like PUT , but used for specific minor edit

  5. DELETE - Used to delete data from the server


HTTPS stands for Hyper-Text Transfer Protocol Secure, is a secured version of HTTP with additional features like data encryption and verification. Any website, especially those that require login credentials, should use HTTPS.

HTTPS uses an encryption protocol to encrypt communications. The protocol is called Transport Layer Security (TLS), formerly known as Secure Sockets Layer (SSL).

Advantages of HTTPS over HTTP :

  1. Privacy: As a user, you never want to let others steal your login credentials or look at your internal activity.

  2. Integrity: HTTPS ensures that the message has not been manipulated on its way to its destination.

  3. Identification: In HTTPS, a digital signature is attached to the response you received, to verify the sender you expected. This is done via SSL/TLS certification.

Learn more about "How HTTPS works" in a comic way here.

Thanks for Reading

ย