1

我正在努力HERE Telematics。我在用

curl --request POST -H "Content-Type: application/binary" --data binary "@C:\Test\gpx.gpx" "https://rme.api.here.com/2/matchroute.json?routemode=car&app_id={EbuEzCM30PVYLtSsdtOK}&app_code={atl-trn6cHEDADsbaK2bLQ}"

它给出了这个错误:

curl: (3) URL 使用错误/非法格式或丢失 URL % Total % Received % Xferd 平均速度 Time Time Time
当前 Dload Upload Total Spent Left
Speed 100 127 100 121 100 6 143 7 --:--:-- -- :--:-- --:--:-- 150{"faultCode":"8aa3a04f-9c58-46ae-a027-f3d460ed1b43","re​​sponseCode":"400 Bad Request","message":"缺少 LATITUDE 列"}

我尝试了不同的方法,但它给出了相同的错误。

curl --request POST -H "Content-Type: application/binary" --data binary "@C:\Test2\run.gpx" "https://rme.api.here.com/2/matchroute.json?routemode=car&app_id={EbuEzCM30PVYLtSsdtOK}&app_code={atl-trn6cHEDADsbaK2bLQ}"

请让我知道如何gpx在 curl 中执行此文件。

4

0 回答 0