Inkplate-Arduino-library icon indicating copy to clipboard operation
Inkplate-Arduino-library copied to clipboard

Hourly_Weather_Station_Example: Print message on serial for HTTP 401

Open dveeden opened this issue 3 years ago • 1 comments

As the activation of API keys can take a while it is a common situation to try this with a not-yet-activated API key, which results in a HTTP 401. While many other messages are printed to the serial interface, this one is not.

dveeden avatar Oct 05 '22 18:10 dveeden

The API keys of the account that I registered never worked for the one call 2.5 API (both the example code and with curl). After registering for one call 3.0 and changing the url in the code I was able to run the example.

dveeden avatar Oct 06 '22 05:10 dveeden

I do think it is worthwhile to change the URL, however after registering for one call 3.0 I was actually able to use the 2.5 link once the API key eventually activated, so this commit makes sense even without changing the URL (as committed.)

nickjrotundo avatar Oct 19 '22 20:10 nickjrotundo

@BornaBiro would this be ok?

dveeden avatar Jun 02 '23 00:06 dveeden

@BornaBiro ?

dveeden avatar Nov 20 '23 09:11 dveeden