[Home](./index.md) > [puppeteer](./puppeteer.md) > [HTTPRequest](./puppeteer.httprequest.md) > [resourceType](./puppeteer.httprequest.resourcetype.md)
## HTTPRequest.resourceType() method
Contains the request's resource type as it was perceived by the rendering engine.
Signature:
```typescript
resourceType(): string;
```
Returns:
string
one of the following: `document`, `stylesheet`, `image`, `media`, `font`, `script`, `texttrack`, `xhr`, `fetch`, `eventsource`, `websocket`, `manifest`, `other`.
## Remarks