# Payload Object

# $REQ_BODY_ATTRIBUTE_KEY


  • Type: Object
  • Default: {}
  • If provided, must include two attributes: type and data, both are strings.

$REQ_BODY_ATTRIBUTE_KEY means that any key defined in the payload will be accepted in the body of the request.

# For example:

For this example payload object:

payload:
  foo:
    data: Hello
    type: raw

The body request will look like:

{
  "payload": {
    "foo": "Hello"
  }
}