I would like to access the Arduino Nano IoT data that is on a Arduino IoT Cloud Dashboard through a call from Hubitat (i assuming an app - but not even sure of that). I have never programmed across system communication and honestly don't even know what my first problem is.
I have created the Arduino Client and Secret IDs.
How do I send that information to Arduino IoT Cloud?
curl --request POST \ --url 'https://api2.arduino.cc/iot/v1/clients/token' \ --header 'content-type: application/x-www-form-urlencoded' \ --data 'grant_type=client_credentials' \ --data 'client_id=YOUR_CLIENT_ID' \ --data 'client_secret=YOUR_SECRET_ID' \ --data 'audience=https://api2.arduino.cc/iot'
looking to learn -- how to make this call and see that it returns something to indicate approved access and how (if i needed) to close the connection?
Will someone help me through this and/or point me to an example?