HTTP
Domain: Computer Systems
π― Motivation
HyperText Transfer Protocol - the protocol of the web. Browsers send HTTP requests, servers send HTTP responses.
π Concrete Example
HTTP request: βGET /api/users HTTP/1.1β. Response: β200 OK, Content-Type: application/json, Body: [{name: Alice}]β. Every web page load is an HTTP request-response.
π Analogy
HTTP is like ordering at a restaurant - you (browser) say βI want the menuβ (GET /menu). The waiter (server) brings it. HTTP defines the format of these requests and responses.