Skip to main content
Version: 16.2.0

HTTPRequest.method() method

Signature:

class HTTPRequest {
method(): string;
}

Returns:

string

the method used (GET, POST, etc.)