title: set 'form-data' to jersey client post request
body: <p>I am writing a rest client which consumes a POST restful sevice of server. 
  Now the service expects 2 parameters as part of request in 'form-data'.</p>
  
  <p>If you have across postman rest client, there we have an option to set the form-data, and give key-value pair parameters.</p>
  
  <p>How can we send similar data in Javax rs rest client. Here is the code which I have.</p>
  
  <pre><code>import javax.ws.rs.client.Invocation.Builder;
  import javax.ws.rs.client.Client;
  import javax.ws.rs.client.WebTarget;
  ...
  
  Client client = ClientBuilder.newClient();
  WebTarget target = client.target(url);
  Builder basicRequest = target.request();        
  Response response=basicRequest.post();
  </code></pre>
  
  <p>Now how to send 2 parameters namely 'fileName', 'fileVersion' with their values as part of form-data?</p>