Reference/Datatypes/HttpResponse
Datatype · Structs

HttpResponse

struct

Response table returned by HttpService:RequestAsync.

Fields

NameTypeDescription
Bodystring

The response body as a string.

Headers{ [string]: string }

Table of response headers.

StatusCodenumber

The HTTP status code returned by the server (e.g. 200, 404).

StatusMessagestring

The full HTTP status line (e.g. "HTTP/1.1 200 OK").

Successboolean

Whether the request succeeded (status code is not an HTTP error).