23-01-23 11:40 AM
--form 'metadata="{
"documents": [
{
"documentName": "sample.pdf",
"documentExtension": "pdf",
"documentCategory": "Other Form",
"documentDescription": "Other form uploaded",
"messageId": null,
"documentUploadedBy": "BOT_USER",
"toDisplayText": "ITEM_ID",
"toEmail": "testemail@gmail.com"
}
]
}
"' \
--form 'file=sample.pdf'
Answered! Go to Answer.
26-01-23 04:10 PM
23-01-23 02:02 PM
23-01-23 05:26 PM
25-01-23 05:33 PM
25-01-23 06:58 PM
26-01-23 01:57 PM
26-01-23 04:10 PM
27-01-23 06:21 PM
09-02-23 07:57 PM
Hi All,
Was able to finally send the file successfully. It appears that it was necessary to set the Content-Type as application/octet-stream in order for the file to be pushed successfully.
Thanks everyone for your help and suggestions.