🌐 http 🌙 Lua Crescente+
Funções acessadas com o prefixo http., ex.: http.get().
Peticiones HTTP fuera de Discord. Siempre pasan por el mismo filtro de seguridad: límite de tamaño de respuesta, timeout, bloqueo de
localhost/IPs privadas y un límite de peticiones por ejecución 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 }
→