Open duelago opened 6 years ago
I just realized that the API password I use for Ravlunda is incorrect. Need a system to tell you it's wrong. I.e present "Sorry, you don't have access for this station, with this password." in the web interface
curl http://api.holfuy.com/live/\?s\=126\&pw\=wrongpassword\&m\=CSV\&tu\=C\&su\=m/s 126,Error: Sorry, you don't have access for this station, with this password.
Annoying that they still give a HTTP 200 response code back, not that it is parsed yet anyway. :-P
The latest status of each weather station should probably be presented:
I just realized that the API password I use for Ravlunda is incorrect. Need a system to tell you it's wrong. I.e present "Sorry, you don't have access for this station, with this password." in the web interface
curl http://api.holfuy.com/live/\?s\=126\&pw\=wrongpassword\&m\=CSV\&tu\=C\&su\=m/s 126,Error: Sorry, you don't have access for this station, with this password.