13.07.2020, 12:49
Send HTTP request like this:
Code:
http = require('socket.http')
res, err = http.request('http://<device-ip>/bha-api/open-door.cgi?<parameter>=<value>')
log(res, err)