Closed cbitterfield closed 3 years ago
Hello, we had some issues with the aREST.io cloud server but now all is fixed :)
For a local auth with the API key this is indeed an interesting project but for now we are focusing on the cloud aspect of aREST, however we'll mark this as a future feature to be implemented.
Please setup an example for MKR 1010 (using WiFiNINA) v (WiFi) that has an API key for local authentication.
The arest.io website is not working.
the function rest.setKey(key,client) does not seem to work. [no matching function for call to 'aREST::aREST(PubSubClient&)']
I am not sure what this construct does:
I have the API working with id and name:
Platform: MKR 1010 OSX IDE (1.8.2) arest 2.9.0
source_code (minus config files)
Error Message:
boat-rest-api-v1.0:37:1: error: 'rest' does not name a type rest.handle(client); ^~~~ /Users/colin/Documents/Arduino/boat-rest-api-v1.0/boat-rest-api-v1.0.ino: In function 'void setup()': boat-rest-api-v1.0:48:9: error: 'class aREST' has no member named 'setKey'; did you mean 'set_id'? rest.setKey(key); ^~~~~~ set_id exit status 1 'rest' does not name a type