【问题标题】:Using Google Geocode API in postman在邮递员中使用 Google Geocode API
【发布时间】:2019-06-06 06:01:39
【问题描述】:

我目前没有 Google API 密钥。出于测试目的,我想从邮政编码和地址中获取纬度和经度。

如何在 Postman 中进行测试?

【问题讨论】:

    标签: google-geocoding-api


    【解决方案1】:

    这是一个 GET 请求,您可以使用 Postman 或 curl 访问 API。 示例请求:

    https://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&key=YOUR_API_KEY
    

    查看链接: Google Geocoding API

    邮递员示例:

    卷曲示例:

    【讨论】:

    • OP已经明确表示他们没有API Key,但您的回答表明它是必需的。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-03-18
    • 2020-07-09
    • 1970-01-01
    • 1970-01-01
    • 2018-10-10
    • 1970-01-01
    相关资源
    最近更新 更多