http are just a set of protocols
state less protocol :
every time you visit a page, you are a new user.
session : stored state between frontend and backend
cookie : Is just a information
I need to send data to browser form server
http Header: client
Browser Info
date time
cookie to store
request response architecture:
browser ---------------> server
(GET,POST)--> <--(200,404)
response code [ 200, 404 ]
->what action to perform (GET,POST,DELETE)
->where to perform "http://example.com/auth
->was it done
HTTP/2:
http means http2
http/1.1 is a fallback(substitute) & is still used
uses compressions
uses multiplexing (many files at same time)
uses encryption (https)
In AWS, we don't use http for internal communication
Top comments (0)