Uploading Files

Key Concepts

Instead of posting JSON or similar text-based data, you can use the File Uploads to send more complex data in your API requests.

📘

Multi-part form data

You can choose to upload a file, or to create multi-part from data that encapsulated multiple files

Handling File Uploads

You can upload files from the Files link in the Advanced section on the left of each APImetrics page.

21222122

Click on the +Upload New File button. This will invoke the File Upload page. You can choose the name of the file to upload or a URI from which the file can be fetched.

21162116

Using

Using the File in an API call

When editing an API call, you can select the Content-Type.

442442

Choose "(File)" to show the file picker.

10701070

Remember to Click "Save" to store your changes.

🚧

POST and PUT only

Note that you must use an HTTP method of POST or PUT to upload content with the request