So basically im trying to relyably get my monzo balance with tasker which I can successfully do using HTTPGET to get the balance. However to get this to work im having to get tasker to open the monzo api playground webpage and copy the accesstoken from there to then use further down my tasks. This of course expires after a while and so if the HTTP Get request fails it will get as new code again.
I don’t like how this is being achieved as it has to actually unlock my device to do this (obviously not great for security)
So I am trying to get a new fresh token through tasker to replace the sloppy way I’m doing it now.
I can receive a refresh token through HTTPie as stated in the Api Docs but I just can’t get it to work within tasker for some reason.
Here’s the info I send to HTTPie
*http --form POST “https://api.monzo.com/oauth2/token” *
I’ve been at this for week’s now someone please put me out of my misery!
Here’s a reddit post I made that might have some more info if needed.