---
sidebar_label: HTTPRequest.postData
---

# HTTPRequest.postData() method

> Warning: This API is now obsolete.
>
> Use [HTTPRequest.fetchPostData()](./puppeteer.httprequest.fetchpostdata.md).

### Signature

```typescript
class HTTPRequest {
  abstract postData(): string | undefined;
}
```

**Returns:**

string \| undefined
