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