---
title: responseType
framework: tvmljs
role: symbol
role_heading: Instance Property
path: tvmljs/xmlhttprequest/1627342-responsetype
---

# responseType

The type of response.

## Declaration

```data
attribute String responseType;
```

```data
attribute XMLHttpRequestResponseType responseType;
```

## Discussion

Discussion Valid values for this attribute are the empty string, blob, document, json, and text.

## See Also

### Retrieving Request Information

- [metrics](tvmljs/xmlhttprequest/1627436-metrics.md)
- [readyState](tvmljs/xmlhttprequest/1627324-readystate.md)
- [response](tvmljs/xmlhttprequest/1627364-response.md)
- [responseCacheIsValid](webkitjs/xmlhttprequest/2871089-responsecacheisvalid.md)
- [responseText](tvmljs/xmlhttprequest/1627363-responsetext.md)
- [responseURL](webkitjs/xmlhttprequest/1630664-responseurl.md)
- [responseXML](tvmljs/xmlhttprequest/1627307-responsexml.md)
- [status](tvmljs/xmlhttprequest/1627403-status.md)
- [statusText](tvmljs/xmlhttprequest/1627375-statustext.md)
