Skip to content

HTTP

  • Hypertext Transfer Protocol (HTTP) is an application-layer protocol for transmitting hypermedia documents, such as HTML.

-It was designed for communication between web browsers and web servers, but it can also be used for other purposes.

  • HTTP follows a classical client-server model, with a client opening a connection to make a request, then waiting until it receives a response. HTTP is a stateless protocol, meaning that the server does not keep any data (state) between two requests.

Difference between HTTP and HTTPS

  1. HTTP stands for HyperText Transfer Protocol. Whereas, HTTPS for HyperText Transfer Protocol Secure.

  2. HTTP works at Application Layer. Whereas, HTTPS works at Transport Layer.

  3. In HTTP, Encryption is absent. Whereas, Encryption is present in HTTPS.

  4. HTTP does not require any certificates. Whereas, HTTPS needs SSL Certificates.

  5. Port number for HTTP is 80 and Port number for HTTPS is 443.