Communication Networks · Visualized
HTTP & HTTPS
Application Protocols
The protocols your apps speak directly: web, mail and file transfer — requests, responses and headers.
3 interactive subtopics — each one animated, step-through and explained.
HTTP & HTTPS
Application ProtocolsHTTP is a gloriously simple protocol: the client sends a text request (method + path + headers), the server sends back a status line + headers + body, and the conversation ends — stateless, so every request must carry its own context. HTTPS is the same conversation inside an encrypted TLS tunnel negotiated before the first byte of HTTP flies, protecting it from anyone on the path.
How HTTP & HTTPS Works
- The browser opens a TCP connection to port 80 (HTTP) or 443 (HTTPS).
- HTTPS first runs a TLS handshake: certificates prove the server's identity, and both sides derive shared encryption keys.
- The client sends a request: METHOD + path + version (e.g. GET /index.html HTTP/1.1) plus headers like Host and Cookie.
- The server answers: status line (200 OK, 404 Not Found…) + headers (Content-Type, Cache-Control…) + the body.
- HTTP/1.1 keeps the connection alive for more requests; HTTP/2 multiplexes many over one; HTTP/3 moves the whole thing onto QUIC/UDP.
HTTP & HTTPS Worked Example
Try it: Play — watch a GET request cross the wire, the server respond, and compare with the HTTPS variant.
HTTP: the request and response cross in plain text — any router on the path can read (or alter!) them. HTTPS: two extra frames of TLS negotiation first, then identical HTTP flows — but encrypted so the path only sees noise.
HTTP & HTTPS: Key Facts to Remember
Recommended resourcesAffiliate links · may earn us a commission
Recommended for learners
See how packets really travel
Networks are built on the structures and algorithms you can watch step by step — queues, trees, and routing algorithms.