You need to sign in to do that
Don't have an account?
Sachin_K
sending image to external service - api call
Hi,
I need to send an image to an external service through apex api call.
1)does salesforce support multipart/form-data in api call ??
2) also i need to send parameter (name of image) to that external service .so can i send blob as value string parameters in a single request ??
Thanks for your suggestions
Hi.
Try this solution. Valid for servers that only support binary content and for servers that support base64 encoding.
http://salesforceafondo.wordpress.com/2013/01/08/post-multipartform-data-out-of-salesforce-com-with-apex/
Hope this helps.
José Luis Almazán.