Network - Payload

> NetWork

1 - About

The payload is the part of transmitted data that is the actual intended message. The payload excludes any headers or metadata sent solely to facilitate payload delivery.

The term is borrowed from transportation, where “payload” refers to the part of the load that pays for transportation.

The most common usage of the term is in the context of message protocols, to differentiate the protocol overhead from the actual data.

Advertising

3 - Example

For example, a JSON web service response might be:

{  
   "data":{  
      "message":"Hello, world!"
   }
}

where:

  • The string Hello, world! is the payload,
  • The rest is protocol overhead.

4 - Documentation / Reference