title: How do I send an HTTP POST with curl?
body: <p>I am attempting to access the Google Search Appliance API: <a href="http://code.google.com/apis/searchappliance/documentation/612/gdata/acapi_protocol.html" rel="nofollow">http://code.google.com/apis/searchappliance/documentation/612/gdata/acapi_protocol.html</a> </p>
  
  <p>In order to send the requests, I am using curl.  My problem is that when I attempt to login, using</p>
  
  <pre><code>curl -k -X POST https://ip.ad.dr.ess:8443/accounts/ClientLogin&amp;Email=username&amp;Passwd=password
  </code></pre>
  
  <p>I get the following:</p>
  
  <pre><code>'Email' is not recognized as an internal or external command,
  operable program or batch file.
  Passwd: unknown user =password
  </code></pre>
  
  <p>Any help with this problem would be greatly appreciated.  I am new to curl, so I realize I am probably using it wrong.</p>
  
  <p>I have curl installed through cygwin on Windows 7.</p>