puppeteer/docs/api/puppeteer.httprequest.fetchpostdata.md
2024-01-02 11:02:08 +01:00

20 lines
309 B
Markdown

---
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;