Hi guys,
I’m stuck with uploading temporary files to a service desk. By the endpoint documentation it is possible to attach more than one file in a single request where for the response we will get array of temporary attached file id’s.
For the single file upload “multipartFormData” property looks like and it works:
multipartFormData: {
file: [
fs.createReadStream(filePath),
{ filename },
],
},
but can’t figure out how multipartFormData property needs to look like for more files. I tried few attempts with files as arrays but nothing works