3 ms·
>These big warning windows are for connecting to it from a browser, not a RestClient. Which in my case is a webapp running in a browser :)
by cryo 9y ago
>These big warning windows are for connecting to it from a browser, not a RestClient.
Which in my case is a webapp running in a browser :)
- Jaruzel 9y agoWhy not just proxy the REST requests through your own backend HTTPS server-app ?
- akvadrako 9y agoSo any random webpage can talk to your Hue bridge? I'm surprised they even allow such cross-domain requests, but this anyway doesn't seem safe.
- cryo 9y agoCross-domain is needed, otherwise an app/webapp couldn't talk to the bridge since the bridge only serves the REST API. However in order to send control commands and query light states the app/webapp needs to authenticate and create a account, which is only possible for a few seconds after pressing a physical bridge button.