Response : Object
Represents a response from a web request initiated by fetch(). fetch(), Request and Response are a new, low level replacement for XMLHttpRequest.
Constructors
body
must be one of ArrayBuffer, ArrayBufferView, Blob, FormData, ReadableStream, String, or URLSearchParams.
Instance Properties
redirected : Boolean
status : Number
The http status code for the request. See statusText
for a description of the code.
Example:
RunResults:
Copyright © JavaScripture Contributors