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