Java file upload

The ServiceStack client we use to connect to the ServiceAPI from Java builds a set of classes to simply creating and requesting objects but it has no facility to upload an electronic document.  Given the diversity of HTTP libraries in the Java world this probably makes sense.

This sample demonstrates uploading a file using the Apache HttpClient.

Written on August 16, 2017