When i run api in postmen or thiunderclient getting correct response, But when i call this API in browser giving error as :{“message”:“Invalid API key. Go to https://docs.rapidapi.com/docs/keys for more info.”}
Thanks In advance.
Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:
Example call in browser:
https://trueway-directions2.p.rapidapi.com/FindDrivingRoute?stops=40.629041%2C-74.025606%3B40.630099%2C-73.993521%3B40.644895%2C-74.013818%3B40.627177%2C-73.980853&rapidapi-key=***************************
Hello,
Thank you for reaching out to us.
You should always include the X-RapidAPI-Key header with your RapidAPI key in every request.
Rapid also supports passing the API key via a query parameter. You can do this by including the following syntax in the link:
https://trueway-directions2.p.rapidapi.com/?rapidapi-key=***************************
Go to https://docs.rapidapi.com/docs/keys-and-key-rotation for more info.
If you have any questions, please don’t hesitate to reach out.
Best regards,
TrueWay Team