What is a payload?
A payload is the data carried in the body of a request or response, as opposed to the address and headers that describe it.
An HTTP request has a method, an address, headers and often a body. The payload is the content of that body: the part the receiver actually wants. The Content-Type header says what format it is in, such as JSON or URL-encoded form data.
For a form, the payload of the submission is the field names and values. For a webhook, the payload is the JSON document that describes what happened. Code that receives a payload has to parse it in the format the sender used, or it will see nothing.
Receivers limit payload size and answer 413 when a request is too large. FormTango accepts up to 100 KB of text per submission, or 4 MB in total when files are attached.
json
{
"name": "Ada Lovelace",
"email": "ada@example.com",
"message": "Hello"
}