What to include for the "PUT/POST Body" component

All APIs that require either a PUT or POST method must include a request message body.

This body is delimited using the Content-Length: header or a Transfer-Encoding: chunked header. Most of these PUT/POST APIs do not specify any request body content, so an empty body should be sent using either of the following header formats:

  • Content-Length: 0
  • Transfer-Encoding: chunked (followed by an empty chunk-encoded body)
Note: This applies to all PUT/POST requests, except when incorporating the upload action. Specific usage requirements apply, and they are discussed in the description of this call in this documentation.