---
sidebar_label: HTTPRequest.method
---

# HTTPRequest.method() method

**Signature:**

```typescript
class HTTPRequest {
  method(): string;
}
```

**Returns:**

string

the method used (`GET`, `POST`, etc.)
