I have been working on the weather API last week and when I finished it was working as expected. Today, however, it is not working anymore. And I did not do anything.
I double-checked the code and I cannot find what is the mistake.
It works until the first step: it can get my location data using ipinfo.io API and I can even console.log it.
The problem is on second step, when I use those information to get the weather info from OpenWeather API.
Here’s the link to my CodePen: https://codepen.io/silviojof/pen/MbRKLW
When I type my OpenWeather JSON URL on browser it return the JSON information as expected, as you can check here:
I would really appreciate your help! Thanks in advance!