HTTPRequestHTTPRequest.methodVersion: 21.5.2On this pageHTTPRequest.method() methodThe method used (GET, POST, etc.)Signature:class HTTPRequest { abstract method(): string;}Returns:string