Skip to content

Instantly share code, notes, and snippets.

@jcalvert
Created October 9, 2012 22:21
Show Gist options
  • Save jcalvert/3861821 to your computer and use it in GitHub Desktop.
Save jcalvert/3861821 to your computer and use it in GitHub Desktop.
curl -v "https://maps.googleapis.com/maps/api/place/search/json?sensor=true&key=censored&location=38.897,-77.036&radius=&language=en-US&name=Starbucks&rankby=prominence&types="
*snip*
< HTTP/1.1 200 OK
< Content-Type: application/json; charset=UTF-8
< Date: Tue, 09 Oct 2012 22:17:25 GMT
< Server: mafe
< Cache-Control: private
< X-XSS-Protection: 1; mode=block
< X-Frame-Options: SAMEORIGIN
< Transfer-Encoding: chunked
<
{
"html_attributions" : [],
"results" : [],
"status" : "INVALID_REQUEST"
}
Copy link

ghost commented Oct 10, 2012

One man's 400 Bad Request is another man's 200 OK I suppose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment