AeroDataBox

유료
분류별 AeDBX | 업데이트됨 14日前 | Transportation
인기

9.9 / 10

지연 시간

247ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

404 error

Rapid account: Bannuranurag
bannuranurag
4 वर्ष पहले

The API seems to be working fine in the rapid api playground, however upon copying the code snippet I keep getting 404 error. I am using the JS code for XMLHTTPRequest

Rapid account: Squawk 7000
squawk7000 Commented 4 वर्ष पहले

Please always double-check snippets, that RapidAPI is generating for you. They are not always correct. In particular, they encode colon symbols in the URL, although this should not happen in fragment part of the URL. E.g.: https://aerodatabox.p.rapidapi.com/flights/airports/icao/KSFO/2019-09-16T06%3A00/2019-09-16T12%3A00 should be https://aerodatabox.p.rapidapi.com/flights/airports/icao/KSFO/2019-09-16T06:00/2019-09-16T12:00 You also should not follow wrong snippet example: don’t encode time in the request.

Rapid account: Aldopigni
aldopigni Commented 4 वर्ष पहले

Hello everybody.

I confirm that I have the same problem.

The API call “Departures and arrivals (FIDS) by airport ICAO code” works here:
https://rapidapi.com/squawk7000/api/aerodatabox

but it does not work in my web application.

The other calls also work in my interface. I tried the javascript solution (both with fetch and the others).

Rapid account: Squawk 7000
squawk7000 Commented 4 वर्ष पहले

Hello! It may be that RapidAPI generates a faulty code snipped for you. Could you please specify which endpoint is causing the issue?

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입