title: Curl multiple data in one POST command
body: <p>Can anyone tell me if I can (in the command line) issue a POST command that contains a file and other parameters?</p>
  
  <p>I am trying to do something like:</p>
  
  <pre><code>curl -X POST -F "key=myKey&amp;file=@myfile.txt"  http://localhost:8080/myRestService/
  </code></pre>
  
  <p>I am really new in this domain, so excuse me for my basic question.
  But it does not seems to work well. Any suggestion?
  Tank you very much</p>