ModemRequest
Members
Body
The body of the request, is usually a JSON string.
It is of the type string
.
It may also be nil
.
Compress
What type of compression to use for the request.
It is of the type Enum.HttpCompression
.
It may also be nil
.
Headers
The headers of the request.
[string]
It is of the type any
.
It may also be nil
.
Method
The HTTP method to use for the request.
It can be any of the following strings: GET
, POST
, PUSH
, PATCH
, DELETE
.
It may also be nil
.
Url
The real world URL to send the request to.
It is of the type string
.
Luau Type
This is the luau type for ModemRequest
. It may help clear up mistranslations from the raw data to the wiki page (as it is an automatic process).
export type ModemRequest = {
Method: ("GET" | "POST" | "PUSH" | "PATCH" | "DELETE")?,
Compress: Enum.HttpCompression?,
Url: string,
Headers: {
[string]: any,
}?,
Body: string?,
}