kevinvw1
asked on
Salesforce callout with binary data
I need to send data to a web service from Salesforce using an APEX REST call out method.
Sending basic text data is no problem.
But apparently there is no way to send a blob or binary data.
Therefore there is no easy way to attach a file to the web service call out.
My question is, can I somehow encode/re-encode the binary attachment into plain text that can then be de-coded on the other end?
Thanks,
Kevin.
Sending basic text data is no problem.
But apparently there is no way to send a blob or binary data.
Therefore there is no easy way to attach a file to the web service call out.
My question is, can I somehow encode/re-encode the binary attachment into plain text that can then be de-coded on the other end?
Thanks,
Kevin.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Unless I am mis-understanding something it sounds like the example is to push an attachment IN to SFDC.
I am trying to push an attachment OUT of SFDC using a call out.
But apparently the call outs do not support binary type.