Skip to main content
Version: Next

HTTPRequest.method() method

Signature:

class HTTPRequest {
method(): string;
}

Returns:

string

the method used (GET, POST, etc.)