20 lines
212 B
Markdown
20 lines
212 B
Markdown
---
|
|
sidebar_label: HTTPRequest.method
|
|
---
|
|
|
|
# HTTPRequest.method() method
|
|
|
|
The method used (`GET`, `POST`, etc.)
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
class HTTPRequest {
|
|
method(): string;
|
|
}
|
|
```
|
|
|
|
**Returns:**
|
|
|
|
string
|