HTTP
The request-and-response protocol of the web: a client asks for something, a server answers.
HTTP is a text-based request/response protocol over TCP (or QUIC): a request names a method and path with headers and an optional body, and the response carries a status code, headers and a body.
Examples
The greenhouse sensor at 192.168.1.37 sends
POST /api/readingswith the body{"t":21.5,"rh":64}to a laptop server on port 8000.The server answers
HTTP/1.1 201 Created, so the sensor knows the reading was stored.
See also