我想要一份在某一地点附近的过境运营者和车站的名单。GET请求看起来是这样的:
https://transit.api.here.com/v3/coverage/nearby.json?details=0¢er=51.383574%2C12.381183&app_id=devportal-demo-20180625&app_code=9v2BkviRwi9Ot26kp2IysQ响应:
'''{"Res": {
"serviceUrl": "https://transit.api.here.com/transit/v3/coverage/nearby.json",
"LocalCoverage": {
"georef": "u30u",
"NearbyCoverage": {
"lines": 96,
"stops": 43,
"radius": 1965,
"covered": 1,
"type": "TT"
}
}}}'''当我试图在URL中添加参数"radius“时,它不起作用。我对REST不太在行,谁能告诉我,有什么机会吗?提前谢谢
发布于 2019-12-05 06:00:08
请参考可以传递传输API的强制参数和可选参数,以便从API获取响应。
developer.here.com/documentation/transit/dev_guide/topics/resource-routing.html
https://stackoverflow.com/questions/59155368
复制相似问题