在这里,MAPS计算矩阵API返回“请求丢失了app_id和app_code参数。”错误

发布于 2025-02-05 20:04:59 字数 725 浏览 1 评论 0 原文

我正在尝试使用以下调用使用API​​键来获得原始访问型矩阵的距离:

https://matrix.route.api.here.com/routing/7.2/calculatematrix.json?apiKey=[API Key Here]&start0=35.04672,-85.30947&start1=39.766998.49461&destination0=39.10344,-94.58311&destination1=39.76691,-86.14996&destination2=29.42458,-98.49461&mode=fastest;car;traffic:disabled

但是它在响应详细信息中返回此错误:“请求丢失了app_id和app_code参数。查询参数。 //developer.here.com/myapps。”

但是这里的文档说我可以使用apikey或app_code和app_id。

为什么它不适用于apikey?

I'm trying to get distances for an origin-destination matrix using the following call using an API Key:

https://matrix.route.api.here.com/routing/7.2/calculatematrix.json?apiKey=[API Key Here]&start0=35.04672,-85.30947&start1=39.766998.49461&destination0=39.10344,-94.58311&destination1=39.76691,-86.14996&destination2=29.42458,-98.49461&mode=fastest;car;traffic:disabled

But it is returning this error in the response details: "The request is missing the app_id and app_code parameters. They must both be passed as query parameters. If you do not have app_id and app_code, please obtain them through your customer representative or at http://developer.here.com/myapps."

But the documentation here says I can use either ApiKey or App_code and App_id. https://developer.here.com/documentation/routing/dev_guide/topics/resource-calculate-matrix.html

Why doesn't it work with the apiKey?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文