A request. A response.
A web page.
Hear the exchange behind opening a website.
GET /lesson200 OK
Ask for a page.
Try a page that exists, then one that doesn’t. Read what changes in the reply.
The request
GET /lesson HTTP/1.1 Host: example.com
200 · Page found
HTTP/1.1 200 OK Content-Type: text/html <h1>Hello</h1>
Interactive illustration of HTTP/1.1 excerpts. No request is sent to example.com; these are preset examples, not captured traffic. Some headers are omitted.
Follow the idea
A request goes out. A response comes back.
01 / 03
Start with the request
The browser sends a request for a resource such as /lesson. A GET request asks to retrieve it. Requests also carry headers; some requests include a body.
02 / 03
Read the reply
A response includes a status code and headers, and may include a body. In this example, 200 means the request succeeded and the body contains HTML. A 404 response would mean the resource was not found.
03 / 03
One page can need more than one request
HTML can refer to images, stylesheets and scripts. The browser may request those separately, so loading a page can involve several exchanges. Cached resources can change what needs fetching.
The text example is HTTP/1.1
HTTP/1.1 messages have a readable text structure. HTTP/2 and HTTP/3 use binary framing. The request-and-response idea still applies; the on-the-wire representation differs.
Read the source ↗The server returned the HTML. Does that prove every image has loaded?
Check your answer
No. An image may need a separate request. Receiving HTML alone does not establish that all page resources have arrived.
Read the original audio transcript
Imagine HTTP as a postal service where you send letters (requests) to a company (server) asking for information or services. Each letter starts with a clear subject line stating what you want, followed by extra notes (headers) that give context, like your return address or preferred language. Sometimes, you include a package (body) with more details. The company replies with a letter (response) that includes a status line telling you if your request was successful, more notes about the reply, and possibly a package with the information you asked for. HTTP messages are designed to be simple and readable, like well-structured letters. HTTP/2 is like upgrading the postal system to handle multiple letters simultaneously in one envelope, speeding up communication. This analogy helps you understand how browsers and servers talk behind the scenes to load web pages and send data.
Original recording retained. The visual example and explanations above are a separate revision.
Sources and editorial note
Written for Nemonic with AI assistance. Technical references checked October 26, 2026.
Make it your own