API tests now support file uploads in formdata requests
API tests now support using file uploads within formdata requests! Recently, we added file upload support using a new binary request type, and now that same functionality will work in the formdata request type. This will allow you to send multiple files in the same request for endpoints that support multipart formdata.
You can also import Postman collections that have formdata requests containing one or more files to upload. The files referenced in the Postman collection will automatically be uploaded to your workspace when the test is saved.
How it works
To start using this feature, open a new or existing API test in the API Test Editor, and take the following steps:
- Click on the plus sign to add a new request step.
- In the Request details section, add the request method and endpoint.
- In the Body tab, select "formdata."
- Select "File" for the type.
- You may upload a local file or choose an existing file upload from your workspace.

An API Test with a multipart formdata request type using an existing file upload in the user's workspace
FILE LIMITATIONS
Files may not be larger than 15MB and must use a common file extension
To learn more about configuring request details in API tests, please see our guide