HTTP Basics
The Webb



A Web Request

Browser asks DNS for the IP address of server.com.
Browser connects to TCP port 80/443 of server.com.
Browser sends a request with:
Action: GET, POST, PUT, DELETE
URL: http://server.com
Headers: language, compression, user-agent.
HTTP Structure

Multiple Web Requests

HTTP is stateless by design.
HTTP Requests are independent of each other.
Each triggering and individual action.
Usually tokens or cookies are included in requests/ responses to keep state.
Last updated