
Think together · Start with a story
A girl asks the service desk, “Please get me this book.” The desk replies, “Found it” or “We don't have it.” HTTP also has requests and responses.
Break down the process
- RequestMethod, target, and other details
- Server processingCheck the resource and action
- ResponseStatus, headers, and content
HTTP is an application-layer protocol that defines how clients and servers express requests and responses.
For example, a browser requests a resource and the server returns a status code and content. A status code helps describe the result; 404 often means the requested resource was not found.
A request can also submit data. It is not just for downloading pages.
Your turn to try
Does receiving a 404 mean the whole internet is disconnected?
Ready? Open to see the explanation
No. Usually, the server has responded; it just could not find the requested resource. Check the address and whether the resource exists.
One idea to remember
HTTP is an application-layer protocol that defines how clients and servers express requests and responses.
Try covering the picture above and explaining each step to your family. If one step is hard to explain, revisit that card.