Here’s an explanation of why this happens.
The tl;dr is to use a CORS proxy for your requests. Prepend https://cors-anywhere.herokuapp.com/
to your API’s URL.
https://cors-anywhere.herokuapp.com/http://api.openweathermap.org...
Here’s an explanation of why this happens.
The tl;dr is to use a CORS proxy for your requests. Prepend https://cors-anywhere.herokuapp.com/
to your API’s URL.
https://cors-anywhere.herokuapp.com/http://api.openweathermap.org...