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