title: Failed to send POST request with "curl" from command line
body: <p>I have a <code>Jersey</code> service with a method to handle form submission.</p>
  
  <pre>
  void handle(@FormParam("name") String name) {...}
  </pre> 
  
  <p>When I submit a form (see below) in a browser the service works Ok.</p>
  
  <pre>
  &lt;form action="rest/myService" method="POST"&gt;
      &lt;input name="name"/&gt;
  &lt;/form&gt;
  </pre>
  
  <p>Now I am trying to send the form submission <code>POST</code> request with <code>curl</code> from the command line (see below) but the "FormParameter" <code>name</code> in the service is <code>null</code> while I expect it to be set to <code>myName</code>. </p>
  
  <pre>curl -d "name=myName" http://localhost:8080/myApp/rest/myService </pre>
  
  <p>I guess the <code>curl</code> command line is wrong. Is it correct? How to fix it?</p>