ModemRequestResponse
Body
The body of the response, is usually a JSON string.
It is of the type any.
Headers
The headers of the response.
[string]
It is of the type any.
StatusCode
The HTTP status code of the response.
It is of the type number.
StatusMessage
The HTTP status message of the response.
It is of the type string.
Success
Whether the request was successful or not.
It is of the type boolean.
Luau Type
This is the luau type for ModemRequestResponse. It may help clear up mistranslations from the raw data to the wiki page (as it is an automatic process).
export type ModemRequestResponse = {
StatusMessage: string,
Success: boolean,
StatusCode: number,
Headers: {
[string]: any,
},
Body: any,
}