Skip to content

http_response

LLEvents:on("http_response", function(HTTPRequestID: string, Status: number, Metadata: {any}, Body: string)
-- ...
end)

This event handler is invoked when an HTTP response is received for a pending llHTTPRequest request or if a pending request fails or times out.

Parameters
HTTPRequestID (string)
Status (number)
Metadata ({any})
Body (string)

Add example usage here showing how to handle the http_response event in SLua/Luau.

Add additional notes, caveats, or tips specific to using this event in SLua/Luau.