Results 1 - 15 of 15
The
clone()
method of the
Response
interface creates a clone of a response object, identical in every way, but stored in a different variable.
The
headers
read-only property of the
Response
interface contains the
Headers
object associated with the response.
The
ok
read-only property of the
Response
interface contains a boolean stating whether the response was successful (status in the range 200-299) or not.
The
Response()
constructor creates a new
Response
object.
The
status
read-only property of the
Response
interface contains the status code of the response (e.g.,
200
for a success).
The
statusText
read-only property of the
Response
interface contains the status message corresponding to the status code (e.g.,
OK
for
200
).
The
type
read-only property of the
Response
interface contains the type of the response. It can be one of the following:
The
Response
interface of the
Fetch API represents the response to a request.
The
url
read-only property of the
Response
interface contains the URL of the response.
The
useFinalURL
property of the
Response
interface contains a boolean stating whether this is the final URL of the response.