Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different responses via RapidAPI Website and via Toolbench server #310

Open
YashThirani21 opened this issue Oct 4, 2024 · 1 comment
Open

Comments

@YashThirani21
Copy link

I am working with this API - https://rapidapi.com/apininjas/api/airports-by-api-ninjas (free tier) and tried testing it on the API playground with the toy parameter IATA = "JFK". It produces a response without any issue.

Screenshot 2024-10-04 at 20 24 30

But when I repeat the same process with the ToolBench server, it produces an empty response {"error":"","response":"[]"}

The exact command I used was

curl -X POST http://8.130.32.149:8080/rapidapi
-H "Content-Type: application/json"
-H "toolbench_key: TOOLBENCH_KEY"
-d '{
"category": "Transportation",
"tool_name": "airports_by_api_ninjas",
"api_name": "v1_airports",
"tool_input": {"iata": "JFK"},
"strip": "truncate",
"toolbench_key": "TOOLBENCH_KEY"
}'

{"error":"","response":"[]"}

@chenhengzh
Copy link

Many APIs exhibit similar issues, like APIs in Squake/Logistics and suivi-colis/Logistics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants