请求附近电台时未经授权的响应
Unauthorized response when requesting nearby stations
我正在尝试向 /v3/stations/by_geocoord.json
发出请求,但我一直收到消息 "These credentials do not authorize access." 的回复完整回复是:
{
"Res": {
"serviceUrl": "https://cit.transit.api.here.com/transit/v3/stations/by_geocoord.json",
"Message": {
"code": "I4",
"level": "E",
"text": "These credentials do not authorize access. Please contact your customer representative or submit a request here https://developer.here.com/contact-us to upgrade your account. You can also get valid credentials by registering for a free trial license on https://developer.here.com."
}
}
}
我错过了什么?此端点是否需要接受任何进一步的条款和条件?或者它不包含在 Public 基本计划中?
谢谢!
您需要提供您的应用程序 ID 和应用程序代码才能使用 API。它包含在基本计划中,访问它应该没有任何问题。
https://transit.api.here.com/v3/stations/by_geocoord.json?center=55.7541%2C37.6200&radius=350&app_id={YOUR-APP-ID}&app_code={YOUR-APP-CODE}&max=3
我正在尝试向 /v3/stations/by_geocoord.json
发出请求,但我一直收到消息 "These credentials do not authorize access." 的回复完整回复是:
{
"Res": {
"serviceUrl": "https://cit.transit.api.here.com/transit/v3/stations/by_geocoord.json",
"Message": {
"code": "I4",
"level": "E",
"text": "These credentials do not authorize access. Please contact your customer representative or submit a request here https://developer.here.com/contact-us to upgrade your account. You can also get valid credentials by registering for a free trial license on https://developer.here.com."
}
}
}
我错过了什么?此端点是否需要接受任何进一步的条款和条件?或者它不包含在 Public 基本计划中?
谢谢!
您需要提供您的应用程序 ID 和应用程序代码才能使用 API。它包含在基本计划中,访问它应该没有任何问题。
https://transit.api.here.com/v3/stations/by_geocoord.json?center=55.7541%2C37.6200&radius=350&app_id={YOUR-APP-ID}&app_code={YOUR-APP-CODE}&max=3