mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
20 lines
211 B
Markdown
20 lines
211 B
Markdown
|
---
|
||
|
sidebar_label: HTTPRequest.method
|
||
|
---
|
||
|
|
||
|
# HTTPRequest.method() method
|
||
|
|
||
|
**Signature:**
|
||
|
|
||
|
```typescript
|
||
|
class HTTPRequest {
|
||
|
method(): string;
|
||
|
}
|
||
|
```
|
||
|
|
||
|
**Returns:**
|
||
|
|
||
|
string
|
||
|
|
||
|
the method used (`GET`, `POST`, etc.)
|