10

Documentation says we can't do this. So as the title says, is there a workaround to make this possible?

1

1 Answer 1

10

You can use the setBodyAsBlob(Blob someBlob) method on HttpRequest to send a raw blob in an HTTP request. If you need to send a mime multi-part request, then that's harder as there's no good way to glue together the string mime part headers and the binary data (you can at this point, base64 encode the payload to work around that).

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .