问题
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