Travel Advisor

פרמיום
Verified
על ידי Api Dojo | מְעוּדכָּן a month ago | Transportation
פּוֹפּוּלָרִיוּת

9.9 / 10

חֶבִיוֹן

2,920ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

Hotels data requests end up in empty arrays ...

Rapid account: Visaasiaonline
visaasiaonline
a year ago

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 a year ago

Hello,

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

Regards.

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות