transitDepartures v8缺少APIKey认证。

问题描述 投票:0回答:1

我在使用这里描述的 "Next Departures "调用时遇到了问题。https:/developer.here.comdocumentationpublic-transitapi-reference-swagger.html。

我明明写着应该可以通过APIKey进行认证,但是我总是得到 "Bearer token invalid. Bearer missing or bearer value missing"。

用我的APIKey methode对api的所有其他调用都能正常工作,也如果我生成一个Bearer Token并使用这个,就能正常工作。然而生成一个只用于这次调用的过期Token,并不是我喜欢的方法。

由于文档中也包含了APIKey方法,我想这是一个bug,或者我做错了什么?

谢谢你

here-api
1个回答
0
投票

谢谢你强调这个问题,请你分享一下你发送的具体URL,得到的响应如下,以便进一步调试。不需要API密钥,只需要提供curl或URL。我们相信这是不应该发生的。


0
投票

你需要输入"&apikey"(都是小字)就可以了。

© www.soinside.com 2019 - 2024. All rights reserved.