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)
#10
(01.07.2022, 05:58)admin Wrote: Like this:
Code:
http = require('socket.http')
mime = require('mime')

result = http.request({
  url = 'https://*.*.*.*/scada-remote?m=json&r=grp&fn=getvalue&alias=62/7/30',
  headers = {
    Authorization = 'Basic ' .. mime.b64('remote:P@s0ord')
  }
})

log(result)

Thank you admin 
Work perfect
Best Regards,
Reply


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

Forum Jump: