puppeteer/docs/api/puppeteer.httprequest.fetchpostdata.md

20 lines
309 B
Markdown
Raw Normal View History

---
sidebar_label: HTTPRequest.fetchPostData
---
# HTTPRequest.fetchPostData() method
Fetches the POST data for the request from the browser.
#### Signature:
```typescript
class HTTPRequest {
abstract fetchPostData(): Promise<string | undefined>;
}
```
**Returns:**
Promise&lt;string \| undefined&gt;