HTTP request and response

HTTP works through exchanges: a client sends a request (method, URL, headers, possibly a body) and the server returns a response (status code, headers, body). Each exchange is independent: by default, the server does not remember previous requests.

Example

GET /produits/42 HTTP/1.1 Host: exemple.fr

Related concepts

The whole glossary