Hi there,
A while ago, I’ve bought 2 LifX (smartlight) bulbs.
Since they have an open HTTP API, I wanted to test this, by using MIT APP Inventor.
On their developpers site, they have several commands that can be tested (Get, Post and Put) as seen in the screenshot.
When I execute a command, I get a respons from the server.
So I was trying to replicate this simple command (GET ListLights) in MIT APP Inventor as seen
But when I push the button, I get an “Error 1101” on the emulator version.
So I build the App by scanning the QR code and try testing it on my Phone.
So there I got the message “Error: Token required”.
So I was wondering, what’s wrong with these simple blocks ?
URL was provided and “Authorization” along with it’s value, as a HeaderRequest.
Also tried it with “ThingSpeak”, and I also get an output there.
So is it the blocks ?
Anyone any ideas on this ?