08.05.2017, 10:18
(08.05.2017, 10:03)gjniewenhuijse Wrote: how to get this working over https? port 443
Hi Gert-Jan,
Like this:
Code:
require('ssl.https')
ssl.https.TIMEOUT = 5
-- Read from object
local reply = ssl.https.request('https://remote:remote@www.yourdomain.com/scada-remote?m=json&r=grp&fn=getvalue&alias=1/1/1')
log(reply)
BR,
Erwin