with play-ws it&#x27;s even<p><pre><code>    ws.url(&quot;http:&#x2F;&#x2F;example.comupload&quot;).withHeaders(&quot;Content-Type&quot; -&gt; &quot;image&#x2F;jpeg&quot;).post()
</code></pre>
Also this is non blocking, while the go code will bock, by default. there is even akka-http now which could be wrapped really great which is streamed by default, even better.