HTTP request from Zipabox to Fibaro HC Lite
Hi all,
I know this has already been asked, but I didn't find an answer.
When the Zipabox is armed, Iwould like to send a request to arm also my HC Lite via a scene.
This scene is working locally on the HCL.
Both boxes are on the same network, and both firmwares are up-to-date.
I use an URL like :
http://<HCLite_user>:<HCLite_password>@>HCLite_IP>/api/sceneControl?id=22&action=start
I have tried with / without the credentials, with GET, POST and PUT but nothing works.
If I paste the URL in a browser, it works. The only difference is that Ihave to type user and password. So, where and how do I have to fill those credentials?
Header, body? Real characters or Base64 encoded?
Sure I may miss something, due to my lack of knowledge in HTTP things, but if anyone could post a screenshot of a working request, this would be great !!
Thanks for helping,
Denis
Replies have been locked on this page!