🌐HTTP Request
Also known as Request, Web Request
A note a browser sends to a server. It asks for a page or data.
Think of it like
Think of it like an order slip. It says what you want and adds notes for the cook.
Example
Emma opens the menu page. The browser sends a request that starts with GET /menu.
Why it matters
Every click, form and API call is a request. Reading one shows exactly what was asked.
Definition
Example code
http
GET /menu HTTP/1.1
Host: example.com
Accept-Language: enCommon mistake
Key takeaways
- 1Method and path. What to do, and where.
- 2Headers. Extra notes for the server.
- 3Optional body. Data like form fields.