Can I use ruby rest-client to POST a binary file to an http API?
- by Angela
I have been using rest-client in ruby in post XML to a third-party API.
I need to be able to include a binary image that's uploaded.
How do I do that?
Uploading Attachments
Both letters and postcards will, in
most cases, require the attachment of
documents. Those attachments might be
PDFs in the case of letters or images
in the…