HTTP requests

HTTP is the web's communication protocol: a client sends a request (method, URL, headers, body) and a server returns a response with a status code. The GET, POST, PUT, DELETE methods express intent, and the 2xx, 4xx and 5xx codes indicate success, client error or server error.

Example

GET /v1/users/42 HTTP/1.1 Host: api.exemple.fr

Related concepts

The whole glossary