09.05.2019, 10:09
Add log call to see what the web server returned in Logs tab:
Code:
local http = require('socket.http')
res, err = http.request('http://remote:remote@IP/scada-remote?m=json&r=grp&fn=write&alias=34/1/2&value=1')
log(res, err)