The RapidAPI Developer Hub

Welcome to the RapidAPI developer hub. You'll find comprehensive guides and documentation to help you start working with RapidAPI as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    Guides
Ask A Question


Refused to set unsafe header "User-Agent"

Posted by Marcus Saw 5 months ago

I am trying to use the Javasript sample code for the Yahoo Weather API ( directly in my browser and I am getting this error :
Refused to set unsafe header "User-Agent"

Is there any way to run the Javascript SDK direct from the browser?

Loading comments...