Ok so I’m struggling here to get my openweathermap Api to read and produce data, using the lat and lon coordinates I’ve given it.
I’m using ip.api.com and this is working, but when I try to pass these into openweather I cannot and I receive this message on the console:
“Failed to load resource: the server responded with a status of 401 (Unauthorized)”
It also shows that my lat and lon have been passed into the URL. Is this a cross origins issue? Should I scrap openweather and use something else like forcast.io, don’t want to mess about signing up for things I dont need to… I’m using Chrome btw.
Hoping someone can at least point me in the right direction here.