title: UploadFileAsync in Java?
body: <p>How can I upload file to a server (API interface) in Java, just like the .NET programmers do in C#:</p>
  
  <pre><code>cli.UploadFileAsync(URL, filename);
  </code></pre>
  
  <p>Tried to do findout a way by using HttpClient but no success.</p>