Attach binary file to an API call - API Connector

Hello Builders,

I’m trying to integrate the following API call

curl "https://{subdomain}.zendesk.com/api/v2/uploads.json?filename=myfile.dat&token={optional_token}" \
      -v -u {email_address}:{password} \
      -H "Content-Type: application/binary" \
      --data-binary @file.dat -X POST

I set up the following API call using the API connector


The API call was successful but uploaded file is corrupted. My question is How can I upload/attach a file to this API call?

3 Likes

+1 on this question

@emmanuel @josh @NigelG
Do you know the cause and solution of this?

Can the following content be a solution?