This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

How to share values between LM in diferent buildings (secure way)
#8
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
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,
Reply


Messages In This Thread
RE: How to share values between LM in diferent buildings (secure way) - by khalil - 30.06.2022, 14:14

Forum Jump: