15.05.2023, 09:09
Code:
http = require('socket.http')
json = require('json')
url = 'https://192.168.2.113/endpoints/call?key=CO@100_0_1&method=get&user=XXXX&pw=XXXX'
res, err = http.request(url)
res = json.pdecode(res)
grp.checkwrite('32/1/2', res.data.value)