Response

noun

say it: “rih-SPONS” /rɪˈspɒns/

The message a server sends back to a client: a status code, headers and usually a body.

What is Response?

An HTTP response is what the server sends back: a status code, headers, and usually a body such as JSON.

HTTP/1.1 201 Created
Content-Type: application/json
Location: /orders/981

{ "orderId": 981, "status": "placed" }

In a sentence

  • “The response came back with status 200 and the page's HTML.”

Level: Novice · More REST API terms at this level

Updated