ReadonlyreadyRequest state: 0 unsent, 1 opened, 2 headers received, 3 loading, 4 done.
ReadonlyresponseThe response body, decoded according to responseType.
ReadonlyresponseThe response body as text.
How to interpret the response body, e.g. "text", "json", "blob".
ReadonlyresponseThe final URL, after any redirects.
ReadonlystatusHTTP status code.
ReadonlystatusHTTP status message.
Timeout in milliseconds. 0, the default, means no timeout.
Aborts the request.
All response headers as a single string, with lowercased names.
A single response header, or null if not present.
Initializes the request.
Optionalasync: booleanSends the request, with an optional body.
Optionalbody: string | ArrayBuffer | ArrayBufferView<ArrayBufferLike> | Blob | null
Makes an HTTP request. PopClip implements the subset of the Web API declared here; there is no
fetch().Requires the
networkentitlement. Most extensions use the bundledaxioslibrary, which is built on this.Example