08.05.2017, 13:40
(08.05.2017, 10:18)Erwin van der Zwart Wrote:(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
Hello,
It doesn't work. When i use this link in a browser without user/password it works (after entering my credentials in the popup).