HERE matrix routing testing url with apiKey

断了今生、忘了曾经 提交于 2021-02-11 14:32:42

问题


I am migrating my appCode and appId to apiKey. But I can't find the testing URL. I am currenlty using matrix.route.cit.api.here.com which doesn't fit with the new apiKey. Does someone have a valid URL ?

Thank you in advance.


回答1:


The matrix routing production endpoint is at:

https://matrix.route.ls.hereapi.com/routing/7.2/calculatematrix.{format}

The testing one is at:

https://matrix.route.sit.ls.hereapi.com/routing/7.2/calculatematrix.{format}

Where format is either json or xml.




回答2:


Update : There was an issue identified with Matrix Routing API where some valid ApiKeys were being rejected, this should now be fixed.

You can test ApiKey with the following matrix routing API request-

https://matrix.route.ls.hereapi.com/routing/7.2/calculatematrix.json?start2=50.13046,8.5732&start3=50.17979,8.51766&start4=50.15778,8.55425&destination0=50.16164,8.53413&mode=fastest;car;traffic:disabled&matrixAttributes=ix,su&summaryattributes=all&jsoncallback=onMatrixCalculated&apikey={}&start0=50.14928,8.52773&start1=50.14136,8.559

for more details please check this documentation https://developer.here.com/documentation/routing/dev_guide/topics/request-constructing.html

https://developer.here.com/documentation/routing/dev_guide/topics/request-matrix-of-routes.html



来源:https://stackoverflow.com/questions/59825976/here-matrix-routing-testing-url-with-apikey

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!