The result of window.fetch
, if it is ok
Promise
wrapper for XMLHttpRequest
Use instead of window.fetch
because it
rejects failed transactions
and provides a legacy XHR interface.
If the legacy interface is not a concern, use Network.fetch
.
The XHR as a Promise,
with a ResourceNotFoundException
in case of rejection
Makes a network request to a resource and returns its data parsed as JSON
Use instead of window.fetch
because it rejects failed transactions.
The result of the request to the resource, parsed as JSON, if it is ok
Fetch a network resource as JSON and return the parsed object
Use instead of window.fetch
because it
rejects failed transactions
and provides a legacy XHR interface.
If the legacy interface is not a concern, use Network.loadJSON
.
The network URL of file to be fetched
The resource as parsed JSON object
Makes a network request
Use instead of
window.fetch
because it rejects failed transactions.{ResourceNotFoundException} if not
ok