· 6 years ago · Nov 16, 2018, 07:02 PM
1-- Tests for connectivity to Express Dev Server
2-- Config --
3ep_address = "192.168.1.12"
4ep_port = "3000"
5
6-- Program Start --
7
8-- Main Execution Function --
9function main()
10 -- Make request
11 response = http.get("http://"..ep_address..":"..ep_port)
12 --Print request
13 print(response.readAll())
14end function