Upload a file via POST request

Number of APIs: 1

About this collection

This collection shows you multiple ways to upload a file in Qodex. You can also watch this quick video below to see exactly how it's done.

The two examples here send a CSV file to the Qodex Echo API in a POST request. In the body of the request, you can attach a file in one of two ways:

  1. In the request body, click form-data, hover over the key input field, and find the hidden dropdown that says Text. Click Text, and then change it to say File. In the Value field, click Select File and select the file to send via the POST request body.
  2. Click binary and then click Select File to attach your file.

These are basic ways to upload a file via Qodex. The exact behavior for how an API is set up to receive a file depends on the architecture of that API and you'll have to look at the documentation to ensure it's done properly.

Watch a walkthrough here

  1. Upload a file POST http://postman-echo.com/post