Frequent questions about payload: how it differs from body, why JWT calls its claims "payload", and whether the term is layer-relative.
- Payload vs body?
In HTTP, "payload" and "body" are often synonyms, but "payload" emphasizes the content-carrying role. RFC 9110 uses "content" for the request/response body.
- Why does JWT call its claims "payload"?
Because the claims are the information the token carries, as opposed to the header that describes how the token is signed.
- Is payload layer-relative?
Yes. Each layer's payload becomes the next layer's envelope. Context determines meaning.
- Does "payload" imply security?
In security contexts, yes; "payload" often refers to malicious code. In networking, no; it just means content.