Ben Pearce
Ben Pearce

Reputation: 7094

Google Places REST call returning 404 not found

I would like to search google places based using a REST call. I am trying the following URL format as per Googles documentation, but I"m getting a 404 not found. Can anyone suggest the proper format for a Google Places rest call.

https://maps.googleapis.com/maps/api/place/textsearch/output?query=newyork&key={MYKEY}&sensor=false

Upvotes: 1

Views: 2269

Answers (1)

Dennis Rongo
Dennis Rongo

Reputation: 4611

Replace output with either json or xml. Change the URL to:

https://maps.googleapis.com/maps/api/place/textsearch/json?query=newyork&key={MYKEY}&sensor=false

Reference: Google Places API

Upvotes: 10

Related Questions