🌐 http 🌙 Lua Crescente+
Funções acessadas com o prefixo http., ex.: http.get().
HTTP requests to outside Discord. Always go through the same security filter: response size limit, timeout, blocking of
localhost/private IPs, and a request limit per script run.
http.get(url, opts?)
→ { ok, status, headers, body, json, text }
→
http.post(url, body?, opts?)
→ { ok, status, headers, body, json, text }
→
http.put(url, body?, opts?)
→ { ok, status, headers, body, json, text }
→
http.patch(url, body?, opts?)
→ { ok, status, headers, body, json, text }
→
http.delete(url, opts?)
→ { ok, status, headers, body, json, text }
→