HereMaps API endpoint returns json with newline characters
HereMaps API endpoint returns json with newline characters
我在使用 Here-maps 时遇到问题。
对该端点的核心 API 调用:
https://1.traffic.maps.cit.api.here.com/maptile/2.1/info?xnlp=CL_JSMv3.0.17.0&app_id=<app-id>&app_code=<app-code>&output=json
returns JSON 其中包含导致错误的制表符和换行符:
Uncaught SyntaxError: Invalid or unexpected token
我真的不认为有办法在我这边解决这个问题。我错了吗?
谢谢,
@HEREDeveloperSupport 修复了响应结构。
我在使用 Here-maps 时遇到问题。
对该端点的核心 API 调用:
https://1.traffic.maps.cit.api.here.com/maptile/2.1/info?xnlp=CL_JSMv3.0.17.0&app_id=<app-id>&app_code=<app-code>&output=json
returns JSON 其中包含导致错误的制表符和换行符:
Uncaught SyntaxError: Invalid or unexpected token
我真的不认为有办法在我这边解决这个问题。我错了吗?
谢谢,
@HEREDeveloperSupport 修复了响应结构。