NCDC Web Service http response codes
Bad REST Progammer, no jolt
everything is http 200OK
output is text/plain
XML header on all pages.
== No Token ==
http://www7.ncdc.noaa.gov/rest/services/sites/daily/countryAbbrev/usa/?output=xml
response: HTTP/1.x 200 OK
Text: Error: Invalid token used null
Bad Country
¶
http://www7.ncdc.noaa.gov/rest/services/sites/daily/countryAbbrev/XDF/?output=xml&token=
response: HTTP/1.x 200 OK
RETURNS ALL SITES?
Bad OutputFormat
¶
http://www7.ncdc.noaa.gov/rest/services/sites/daily/countryAbbrev/XDF/?output=HKJKHJK&token=
Could not create resource
GetSites
¶
=== Bad SiteID ==
WaterML
Returns invalid XML
http://www7.ncdc.noaa.gov/rest/services/siteinfo/daily/010066669999/?output=waterml&&token=
response:
</sitesResponse>
XML
http://www7.ncdc.noaa.gov/rest/services/siteinfo/daily/010066669999/?output=xml&token=
<?xml version="1.0" encoding="UTF-8"?><sites></sites>
GetValues
¶
NO VARIABLE: http://www7.ncdc.noaa.gov/rest/services/values/daily/01018499999/20080101/20080131/?output=waterml&token=
EMPTY PAGE WITH TITLE ERROR
Bad Date
EMPTY PAGE WITH TITLE ERROR
http://www7.ncdc.noaa.gov/rest/services/values/isd/72584523225/20070101/20070131/?output=waterml&token=
Daily values request: http://www7.ncdc.noaa.gov/rest/services/values/daily/01018499999/CIG/20080101/20080131/?output=waterml&token=bgFcccciDafJnemlGInn
No service found for daily waterml