title: Curl command top upload file with metadata
body: <p>I am testing my RESTFul API, and i would like to know if there is a way to upload a file and json data at the same time.</p>
  
  <p>When i run this command from command line:</p>
  
  <p><code>curl -v -X POST -d '{"label":"vacations", "date":"2011-01-03"}' -F photo=@"photo.png" http://localhost/album</code></p>
  
  <p>I get this error: 
  <code>Warning: You can only select one HTTP request!</code></p>
  
  <p>Is there really a way to accomplish this?</p>