Yuari
Documentation
Docs/HTTP/http.request

http.request

Request API on the http table. Global aliases: http_request, httprequest, syn_request, krnl_request, webrequest.

Syntax

http.request

Parameters

This function takes no parameters.

Returns

TypeDescription
tableThe returned collection or table.

Description

http.request is part of the HTTP library. HTTP helpers use the module's own WinHTTP client, so they are not limited by Roblox HttpService rules.

The operation is performed immediately using the arguments supplied at the call site.

The aliases http.Request, http.http_request resolve to the same implementation.

Example

local response = http.request({
    Url = "https://httpbin.org/get",
    Method = "GET"
})
print(response.StatusCode)

Notes

  • Aliases: http.Request, http.http_request.
  • HTTP calls use the module's WinHTTP client and require network access.