--- sidebar_label: HTTPRequest.method --- # HTTPRequest.method() method The method used (`GET`, `POST`, etc.) #### Signature: ```typescript class HTTPRequest { abstract method(): string; } ``` **Returns:** string