title: POST with curl without sending data
body: <p>Is there a way to use curl to send a POST request without sending any data?</p>
  
  <p>We usually post like:</p>
  
  <pre><code>curl --data @C:\mydata.txt http://1.2.3.4/myapi
  </code></pre>
  
  <p>If you omit the <code>--data</code> you are doing a GET.  How can you omit it and still do a POST?</p>