puppeteer/website/versioned_docs/version-19.0.0/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.)