Attachments


Attachments in RESTful API testing refer to the ability to send and receive files such as images, documents, and videos as part of an API request or response. This is typically done using the multipart/form-data content type, which allows for the inclusion of binary data in an API request or response.

There are two ways to upload files in Attachments.


Attach file from form-data

  1. Navigate to API Request > Body > form-data tab. form-data
  2. Hover over the Key field and select File from the dropdown. Key
  3. Upload file in the Value field. File
  4. Click Create to upload the file in the Attachments tab. Attach file in form data

Attach file from Binary

  1. Navigate to API Request > Body > Binary tab. Binary
  2. Upload file. File
  3. Click Create to upload the file in the Attachments tab. Attach files in binary