An HTTP response is a message sent by a server after receiving an HTTP request.
It tells the client whether the request succeeded and may include headers, status information, and returned content.
A typical flow looks like this:
An HTTP response usually contains:
For example:
HTTP/1.1 200 OK
Content-Type: application/json
with a body such as:
{
"name": "Wireless Mouse",
"price": 29.99
}