Aliases

None.

Arguments

string
required
The endpoint URL, including its protocol.
string
default:"\"\""
The request body.

Returns

string
The response body, or a Luau comment string describing the failure.
Requires a local echo server for this example. Uses application/x-www-form-urlencoded. Failure returns a Luau comment string. Receiver-style argument parsing can choose the URL as the body; prefer the global form or request. Related types: HTTP types & behavior.

Example