【发布时间】:2018-02-23 13:04:08
【问题描述】:
我在请求源点和目标点的 url 时从谷歌地图收到此消息错误。有没有人知道。请分享您的经验。
{ "error_message" : "此 IP、站点或移动应用程序无权使用此 API 密钥。从 IP 地址收到请求 103.24.99.82,引用者为空”,
“路线”:[],“状态”:“REQUEST_DENIED”
}
网址:https://maps.googleapis.com/maps/api/directions/json?origin=24.878353,67.064308&destination=24.909353,67.085304&sensor=false&avoid=highways&mode=driving&key={key_value_here}
【问题讨论】:
-
你的意思不是说你用大括号输入你的谷歌 API 密钥,对吧?
-
不,不带大括号。我知道这件事。 @ElTomato
标签: ios objective-c google-maps httprequest point