OcelotBOT
Search…
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.
1
local http = require('http');
2
local resp = http.get("https://ocelotbot.xyz/");
3
d.send(resp.statusCode)
Copied!
Last modified 6mo ago
Copy link