Posting a File and Associated Data to a RESTful WebService preferably as JSON
I asked a similar question here: How do I upload a file with metadata using a REST web service? You basically have three choices: Base64 encode the file, at the expense of increasing the data size by around 33%, and add processing overhead in both the server and the client for encoding/decoding. Send the file … Read more