The HTTP Module allows you to make GET requests and receive back information. POST requests are not yet implemented.
Returns the body and statusCode of the response to the request.
body
statusCode
local http = require('http'); local resp = http.get("https://ocelotbot.xyz/"); d.send(resp.statusCode)
Last updated 5 years ago