What is your goal?
There is no documentation on how to do this circa 2025. This should be easy but it is not. A https POST where one field is a text field and the other is a file (which would of course be the data from something like Google download file). Unfortunately, there is zero documentation on how to do such a thing. There is various posts but none seem to be up to date.
Communications
{
"url": "/dlex-layout",
"method": "POST",
"type": "multipart/form-data",
"headers": {
"Authorization": "Bearer {{parameters.apiKey}}",
"Content-Type": "multipart/form-data"
},
"body": {
"LayoutData": {
"value": "{{ parameters.LayoutData }}",
"fieldType": "file"
},
"DlexPath": {
"value": "{{ parameters.DlexPath }}",
"fieldType": "text"
}
},
"response": {
"output": {
"type": "buffer"
}
}
}
Mappable Parameters
[
{
"name": "apiKey",
"type": "text",
"label": "DynamicPDF API Key",
"required": true
},
{
"name": "DlexPath",
"type": "text",
"label": "DLEX Path",
"required": true
},
{
"name": "LayoutData",
"type": "buffer",
"label": "Layout Data File (JSON)",
"required": true,
"semantic": "file:data"
}
]
This returns JSON and never makes a form post.