
JoeH.35511 (Customer) asked a question.
We're working with a vendor who's API requires data content type to be multipart/form-data
The data needs to be in the following form and include carriage returns at the end of each line.
--------------------------boundary
Content-Disposition: form-data; name="updates"
[{"employeeID":"ID","workEmail":"Username","status":"active","preferredName":"First name","lastName":"Last name","department":"Department","jobTitle":"Title"}]
--------------------------boundary--
We are putting this together in a Compose block and passing the output to the body of a HTTP Raw Request function but we haven't found a way to pass the carriage returns.
Is this possible? Or is there a better method of putting the data together and submitting it?

Hey Joe,
Are you able to link the API documentation for this vendor so we can see which format the endpoints will accept?
Hey Mick,
Their API documentation is not publicly available. They recommended the following command to submit the data.
curl -v -X POST {URL} -F "updates=[{\"employeeID\":\"{ID}\",\"workEmail\":\"{EMAIL}\",\"status\":\"active\",\"preferredName\":\"{FIRST_NAME}\",\"lastName\":\"{LAST_NAME}\",\"department\":\"{DEPT}\",\"jobTitle\":\"{TITLE}\"}]" -H "Authorization: Bearer {TOKEN}"
Hi @JoeH.35511 (Customer) - I reached out to support. They recommend to open a case so they can troubleshoot and look at the payload/documentation.
Hi @JoeH.35511 (Customer) - did you create a support case for this question?