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