I am using Flic Buttons to execute scripts defined in hassio. I also moved from legacy API to the new authentication. This switch actually broke my HTTP Posts that I cofigured in the flic configuration.
I now attempted to do the same with my long lived token generated from within hassio but can’t get it to work. any idea what i could try? I attached a screenshot, so that you can see which options flic offers me:
so the first 2 lines might be your header… the string (JSON) I’n sending is the third line and the last line corresponds with your url where “$server” would be http://ipaddress:8123 or whatever you use to access Home Assistant.
I also have a version using MQTT but if you want anyone else to be able to use it (like if they run hassio) that might not work. Mine populates a sensor called abb_usage as you see in the URL
I’ve done exactly this and while I can get it to work via curl it fails authentication when using the flic. I have Bearer at the beginning. I don’t see anything wrong in any of my entries… does this still work for you?
I thought maybe they broke something and very long strings like the token might be getting truncated?
I came back to it today and got it working on a new hassio install!
As far as I can tell I did nothing differently but I just wanted to let everyone know it can work fine from iOS too.