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
-
HTTP stands for HyperText Transfer Protocol. Whereas, HTTPS for HyperText Transfer Protocol Secure.
-
HTTP works at Application Layer. Whereas, HTTPS works at Transport Layer.
-
In HTTP, Encryption is absent. Whereas, Encryption is present in HTTPS.
-
HTTP does not require any certificates. Whereas, HTTPS needs SSL Certificates.
-
Port number for HTTP is 80 and Port number for HTTPS is 443.