🌐 http 🌙 Lua Crescente+
Funções acessadas com o prefixo http., ex.: http.get().
Requisições HTTP para fora do Discord. Sempre passam pelo mesmo filtro de segurança: limite de tamanho de resposta, timeout, bloqueio de
localhost/IPs privados e um limite de requisições por execução de script.
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 }
→