title: NOAA Weather REST API causes error when requesting with curl
body: <p>I am trying to write a python program using NOAA's Climate Data Online REST Web Services (<a href="http://www.ncdc.noaa.gov/cdo-web/webservices/v2#data" rel="nofollow noreferrer">http://www.ncdc.noaa.gov/cdo-web/webservices/v2#data</a>).  But, I am running into errors in my request responses.  When attempting a request with curl from command line I input:</p>
  
  <pre><code>curl -H "token:&lt;MYTOKEN&gt;" http://www.ncdc.noaa.gov/cdo-web/api/v2/data?datasetid=GHCND&amp;locationid=ZIP:22405&amp;startdate=1999-10-05&amp;enddate=1999-10-25
  </code></pre>
  
  <p>It returns this response:</p>
  
  <pre><code>[1] 24322
  [2] 24323
  [3] 24324
  phil@philUbu:~$ &lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;&lt;response&gt;&lt;statusCode&gt;400&lt;/statusCode&gt;&lt;userMessage&gt;There was an error with the request.&lt;/userMessage&gt;&lt;developerMessage&gt;Required parameter 'startdate' is missing.&lt;/developerMessage&gt;&lt;/response&gt;
  [1]   Done                    curl -H "token:..." http://www.ncdc.noaa.gov/cdo-web/api/v2/data?datasetid=GHCND
  [2]-  Done                    locationid=ZIP:22405
  [3]+  Done                    startdate=1999-10-05
  </code></pre>
  
  <p>For some reason it thinks I am missing the startdate, but I have included it and it is in the proper format according to the documentation.  Does anybody have any ideas of what the problem could be?</p>