Travel Advisor

FREEMIUM
Verified
Por Api Dojo | Atualizado a month ago | Transportation
Popularidade

9.9 / 10

Latência

2,920ms

Nível de serviço

100%

Health Check

N/A

Voltar para todas as discussões

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.

Junte-se à discussão - adicione o comentário abaixo:

Efetue login / inscreva-se para postar novos comentários