Reputation: 7094
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
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