【问题标题】:Google Places REST call returning 404 not found找不到返回 404 的 Google Places REST 调用
【发布时间】:2013-02-03 06:18:12
【问题描述】:

我想使用 REST 调用搜索 google 地方。根据 Google 的文档,我正在尝试以下 URL 格式,但找不到 404。任何人都可以建议 Google Places 休息呼叫的正确格式。

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

【问题讨论】:

    标签: javascript rest google-places-api


    【解决方案1】:

    output 替换为jsonxml。将网址更改为:

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

    参考:Google Places API

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-01-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多