Travel Advisor

フリーミアム
Verified
よって Api Dojo | 更新済み एक महीने पहले | Transportation
人気

9.9 / 10

レイテンシー

2,920ms

サービスレベル

100%

Health Check

N/A

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

Hotels data requests end up in empty arrays ...

Rapid account: Visaasiaonline
visaasiaonline
एक वर्ष पहले

Hi,

I’m writing a React.js app where I’m pulling restaurants, hotels & attractons data using axios. Things are fine except for the hotels data. It ends up sending me empty arrays like this [] … 1 out of 5 attempts will give me good hotel data but the rest are failing.

So far I’ve looked everywhere to find an issue without luck! No error anywhere in my code or anywhere else. Just the data missing…

Can anyone help? Did anyone experience this? Any help would be highly appreciated.

Thanx
Moose

Rapid account: Apidojo
apidojo Commented एक वर्ष पहले

Hello,

I checked your requests and saw that you are still calling the ver 1 endpoints so simply change to use ver 2.

Regards.

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

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