Skip to content

Instantly share code, notes, and snippets.

@desmondmorris
Last active January 4, 2016 01:59
Show Gist options
  • Save desmondmorris/8552164 to your computer and use it in GitHub Desktop.
Save desmondmorris/8552164 to your computer and use it in GitHub Desktop.
geocode VS parse responses - expected 422
curl -IL "http://api.geocod.io/v1/geocode?q=garbage+address&api_key=APIKEY"
HTTP/1.1 422 Unprocessable Entity
Date: Wed, 22 Jan 2014 01:49:34 GMT
Server: Apache
X-Powered-By: PHP/5.4.24
Cache-Control: no-cache
Access-Control-Allow-Origin: *
Content-Type: application/json
curl -IL "http://api.geocod.io/v1/parse?q=garbage+address&api_key=APIKEY"
HTTP/1.1 200 OK
Date: Wed, 22 Jan 2014 01:49:54 GMT
Server: Apache
X-Powered-By: PHP/5.4.24
Cache-Control: no-cache
Access-Control-Allow-Origin: *
Content-Type: application/json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment