Help! Can't get access token to download using auth/login
Hi all,
I've been trying for weeks to get this bit of code to download access token and sprinkler id without success. Does anyone have an idea what I'm doing wrong? Sorry for the small snapshot of code snippet.
-
Hi Peter,
Have you tried to use Postman as explained here: https://support.rainmachine.com/hc/en-us/articles/115004378147-Using-Postman-to-control-RainMachine-API-environment ?
the /login/auth call using http://my.rainmachine.com is for accounts with a single device on account. For multiple devices account you need to use /devices/get-sprinklers API call.
Please sign in to leave a comment.
Comments
1 comment