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.
Yields and resumes with a result; does not return a promise, task handle, or callback registration. A local server must be running. Related types: HTTP types & behavior.

Example