HTTPS meant as Hyper Text Transfer Protocol Secure, It is the secured version of HTTP, the protocol over which data is sent between your browser and the website that you are connected to. The ‘S’ at the end of HTTPS stands for ‘Secure’. It means all communications between your browser and the website are encrypted. HTTPS is often used to protect highly confidential online transactions like online banking and online shopping order forms.
HTTP works on request and response cycle where the client requests a web page. Suppose, if you browse to google.com, you are requesting a web page from the server, and the server will deliver you response.
HTTP is a stateless protocol which means every single transaction you made through HTTP is independent in nature. However, this can be delivered through using HTTP cookies, server side sessions, variables, URL rewriting.
When a client wants to browse a website first thing that happens is that request is sent to the server known as HTTP message. Thereafter, the server will prepare a response and send it back. The message will be different depending on its message response and request.
Difference between http and https
|Hyper Text Transfer Protocol.||Hyper Text Transfer Protocol Secure.|
|HTTP is used for unsecured communication over internet.||HTTPS is used for secured communication over computer network used as internet.|
|Url begins with http://||Url begins with https://|
|There is no encryption and authentication required||Encryption and authentication required|
|No certificate required.||Certificate necessary.|
|Websites like internet forums, educational sites.||Commercial websites use like Banking Websites, Payment gateway, online shopping, etc.|