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