Instance Property

responseText

The response to the request.

Declaration

tvOS
readonly attribute String responseText;
Safari Desktop, Safari Mobile
readonly attribute DOMString ? responseText;

Discussion

If the request was unsuccessful or has not been sent, the value of this attribute is null. Otherwise, this attribute contains a string containing the response.

See Also

Retrieving Request Information

metrics

A dictionary of keys used to request start and response start and end times.

readyState

The current state of the request.

response

The response entity body.

responseType

The type of response.

responseXML

The document response entity body.

status

The HTTP status code.

statusText

The HTTP status text.