Jersey: How to make a POST request using a Client with Query Parameters and an image?
<p>I'm using Jersey 2.22. My code:</p>

<pre><code>   WebTarget target = ClientBuilder.newClient().target("https://api.someurl.com");
   MultivaluedMap&lt;String, String&gt; map = new MultivaluedHashMap&lt;&gt;();

   map.add("param1", "1");
   map.add("param2", "2");
   map.add("param3", "3");

   Response response = target.request().post(Entity.form(map));
</code></pre>

<p>This works well, however, I want to include an image and I have no idea how to do it. I've read the documentation and couldn't find how to do it.</p>