The vendor's API documentation shows the following for using curl to upload files to their system, but I am not sure how to put this into the invoke web service.
curl -i -X POST \ 'https://[THEIR API DOMAIN]/public/devices/{id}/documents' \ -H 'Authorization: Bearer <YOUR_API_KEY_HERE>' \ -H 'Content-Type: multipart/form-data' \ -F type=EVIDENCE \ -F file=string \ -F 'base64File=[object Object]'
I have the URL field, method (POST), Content Type, and Authorization in the Header, but I'm not sure how to deal with the multipart/form-data for the type, file, and base 64.

Report
All responses (
Answers (