|  | Java HTTP Post file upload | Robert Reiz - Robert Reiz | I like building softwareHome Java HTTP Post file upload Java HTTP Post file upload July 14, 2013 Robert Reiz Uncategorized This is the java code to upload a json file via HTTP Post. I am using for that the HttpClient from Apache. byte[] data = outStream.toByteArray() HttpClient  robert-reiz.com |  |