最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Google Places REST call returning 404 not found - Stack Overflow

programmeradmin1浏览0评论

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.

;key={MYKEY}&sensor=false

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./maps/api/place/textsearch/output?query=newyork&key={MYKEY}&sensor=false
Share Improve this question asked Feb 3, 2013 at 6:18 Ben PearceBen Pearce 7,09419 gold badges76 silver badges129 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 10

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

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

Reference: Google Places API

发布评论

评论列表(0)

  1. 暂无评论