Files as multipart formdata
You can upload files as multipart formdata.
Note: Files sent from Nintex Automation Cloud are sent using the header Transfer-Encoding: chunked, with no Content-Length header, in accordance with the HTTP spec.
The following example uploads a file using multipart formdata: Upload files by streaming
How to upload files as multipart formdata
- In the a in property of the parameter object that represents the file, add the value formData.
- In the type property, add the value file.
Where to use multipart formdata
You can use multipart formdata in the parameter object to upload a file to your API.
{
"name": "myFile",
"in": "formData",
"type": "file"
}