AcediaDocumentation

httpget

Fetches an HTTP response body.

Yields until completion. Non-2xx or transport failures are reported to output and return an empty string; an empty successful response also returns an empty string. Use request when you need a status code.

It shares its transport with game:HttpGet, so it sends the engine's User-Agent: Roblox/WinInet and the Roblox session headers, not the executor agent that request uses. See the header table.

httpget(url: string): string

Parameters

ParameterTypeDescription
urlstringhttp:// or https:// URL.

On this page