Skip to main content
Version: 17.1.2

HTTPRequest.method() method

Signature:

class HTTPRequest {
method(): string;
}

Returns:

string

the method used (GET, POST, etc.)