Multipart/form-data
A form-data type that works with body payload or file upload
Upload a file
A module that uploads a file to the service works with data type buffer in mappable parameters and type multipart/form-data in communication.

[
{
"name": "file_name",
"type": "text",
"label": "Name",
"required": true,
"semantic": "file:name"
},
{
"name": "file_data",
"type": "buffer",
"label": "Data",
"required": true,
"semantic": "file:data"
}
]{
"url": "http://example.com",
"body": {
"file": {
"value": "{{parameters.file_data}}",
"options": {
"filename": "{{parameters.file_name}}"
}
}
},
"type": "multipart/form-data",
"method": "POST"
}Last updated

