Patch API resume pdf upload



I am trying to update a resume through API. I keep on getting this error:
{
"errors":[
{
"errorMessage": "The Content provided as part of the request was invalid.",
"errorCode": 17
}
]
}

I am trying to push using RESTLET client with correct credentials, I tried .pdf file, .docx file , .doc file. I am confused as to what is required as content. How do I send {RAW BINARY CONTENT} as mentioned in the api docs.

Submitted by iCIMSUNIFIL on September 19, 2019 Permalink

To add a resume to a candidate profile, You need to make the following PATCH call:
PATCH Endpoint: https://api.icims.com/customers/{customerId}/ people/{candidateSystemID}/fields/resume/binary

Payload: Content-Disposition: form-data; name="CV"; filename="candidate resume.docx"