&gt; I think that would be about 20 lines in Java. You&#x27;ve got to make a `HttpUrlConnection`, then call `setDoInput(true)` (or is that `setDoOutput(true)`), wrap it in a `try`, etc. etc. etc.<p>Nothing prevents you to wrap those 20 lines in a generic method.<p>Also there are other options in Clojure, Scala, Kotlin, Groovy besides pure JDK API calls. Here Scala style, easy to mimic in Java 8<p><pre><code>    val result = http.postData(&quot;http:&#x2F;&#x2F;example.comupload&quot;).header(&quot;Content-Type&quot;, &quot;image&#x2F;jpeg&quot;).responseCode
</code></pre>
&gt; Go&#x27;s standard library is amazing.<p>So amazing that is doesn&#x27;t have proper database drivers for the SQL databases that matter.