ggrizliv 3 Share Posted March 30, 2017 Hi. I need help with setting global variable via api calls. I have HC lite. My variable is "Pocitnice" and value can be "Da" or "Ne". In webbrowser i put this string: http://192.168.1.48/api/globalVariables/Pocitnice and I get this: {"name":"Pocitnice","value":"Ne","readOnly":false,"isEnum":true,"enumValues":["Da","Ne"],"created":1490736622,"modified":1490891810} So, what i must add to this url (http://192.168.1.48/api/globalVariables/Pocitnice) to set value "Da" to Pocitnice??? Please, help. Quote Link to post Share on other sites
0 darren-mc 11 Share Posted March 31, 2017 snap...was trying to get this to work from a "maker" link in IFTTT but no luck Quote Link to post Share on other sites
Question
ggrizliv 3
Hi. I need help with setting global variable via api calls. I have HC lite. My variable is "Pocitnice" and value can be "Da" or "Ne". In webbrowser i put this string:
http://192.168.1.48/api/globalVariables/Pocitnice
and I get this:
{"name":"Pocitnice","value":"Ne","readOnly":false,"isEnum":true,"enumValues":["Da","Ne"],"created":1490736622,"modified":1490891810}
So, what i must add to this url (http://192.168.1.48/api/globalVariables/Pocitnice) to set value "Da" to Pocitnice???
Please, help.
Link to post
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.