Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To send an attachment there is two options, Multipart form data - this is what most systems use to work with attachments. Second option is Body this is where the remote system requires the content of the attachment to be included in the body.

Body data

Use this method to send the content of the attachment as base64encoded in the body of the request.

Attachment is accessible via {{attachments}} variable, this is a list of attachments. To grab the first, last or latest use the syntax below:

  • {{attachments.first}}

  • {{attachments.last}} same as latest

  • {{attachments.latest}}

...

Multipart data - form data

Info

Usage note!

Use this only in the case were attachment is needed, since the payload is different than regular application/json types.

...