title: how to access GSA API
body: <p>I have a Google Search Appliance and am trying to access the API to download the Event Logs.  I am using curl through cygwin on the Windows 7 command line.</p>
  
  <p>I am able to get an authentication token using </p>
  
  <pre><code>curl -X POST -d Email=username -d Passwd=password "http://ip.ad.dr.ess:8443/accounts/ClientLogin"
  </code></pre>
  
  <p>My problem is that when I attempt to retrieve the even logs themselves:</p>
  
  <pre><code>curl -k -X GET -d query=User -H "Content-type: application/atom+xml" -H "Authorization: GoogleLogin Auth=e73265ce254f7c4afbcbee1743a56e81" "http://10.29.5.5:8000/feeds/logs/eventLog"
  </code></pre>
  
  <p>curl says that it cannot reach the host:</p>
  
  <pre><code>curl: (7) couldn't connect to host
  </code></pre>
  
  <p>Any help in getting this to work is greatly appreciated.</p>