This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Http Api command to Zennio Getface IP
#8
You access the same URL (http://192.168.1.101/api/io/status) in your browser and check whether input states change or not.
Error checking can be improved like this:
Code:
if type(data) == 'table' and type(data.result) == 'table' and type(data.result.ports) == 'table' then
    ports = data.result.ports
Reply


Messages In This Thread
RE: Http Api command to Zennio Getface IP - by admin - 18.05.2018, 09:32

Forum Jump: