TrueWay Geocoding

フリーミアム
Verified
よって TrueWay Team | 更新済み 14일 전 | Mapping
人気

9.9 / 10

レイテンシー

337ms

サービスレベル

100%

Health Check

N/A

すべてのディスカッションに戻る

Returns "BAD_REQUEST"

Rapid account: 208109412
208109412
4년 전

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) })

Rapid account: Trueway
trueway Commented 4년 전

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

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿