🔌Response Body
Also known as HTTP Response Body, Response Payload, Response Content
The data a server sends back in a web reply, after the headers. It is what you asked for.
Think of it like
It is like the gift in a box. The label is on the outside, and the gift is inside.
Example
Why it matters
Definition
Example code
http
HTTP/1.1 200 OK
Content-Type: application/json
{"id": 42, "name": "Lucy"}Common mistake
Key takeaways
- 1After the headers. Past a blank line.
- 2What you asked for. A page, a file or data.
- 3Typed by a header. Content-Type says the format.