puppeteer/website/versioned_docs/version-18.0.5/api/puppeteer.httprequest.method.md

20 lines
211 B
Markdown
Raw Normal View History

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