TrueWay Geocoding

免费增值
Verified
通过 TrueWay Team | 已更新 1年前 | Mapping
人气

9.8 / 10

延迟

329ms

服务等级

100%

返回所有讨论

Returns "BAD_REQUEST"

avatar
208109412
2年前

Such a cool API and free even! It works perfectly on the rapidapi site when testing it, but returns “BAD_REQUEST” when testing it in my own project.

Also—and this is true for all apis on this website—the fetch method return needs to be converted to json before being console.logged e.g.

fetch(url)
.then(function(res) { res.json() })
.then(function(data) { console.log(data) })

avatar
trueway commented 2年前

This is a problem with delimiter(comma) encoding. Location parameter looks like this: “-33.9888553%2C18.4787872”. But must be: “-33.9888553,18.4787872”.

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论
打分:5 - 投票:1