Hello admin
I try the remote service via the browser and its work.
but how to use it in the script?
I use this SCript
Where should I but the username and password and what is the format?
Admin username password is something like "P@s0ord"
I try the remote service via the browser and its work.
but how to use it in the script?
I use this SCript
Code:
require('ssl.https')
ssl.https.TIMEOUT = 5
-- Read from object
local reply = ssl.https.request('https://remote:remote@*.*.*.*/scada-remote?m=json&r=grp&fn=getvalue&alias=62/7/30')
log(reply)
Where should I but the username and password and what is the format?
Admin username password is something like "P@s0ord"
Best Regards,