Closed ghctim closed 4 years ago
Did you found the problem to your issue?
Yes. It was a silly error
On Tue, Jun 2, 2020, 7:02 AM Elio Struyf notifications@github.com wrote:
Did you found the problem to your issue?
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/estruyf/unicorn-busy-server/issues/6#issuecomment-637462257, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKGGONIXZLH6WBCKSY6GKLRUTL5HANCNFSM4NQIY2VA .
Glad you found it!
I am sending the following Post data using postname and type JSON and getting
to http://ip:5000/api/switch
{ "red":0, "green":255, "blue":0, "brightness":1, // Optional "speed":1 // Optional } and i get an error 400