ConstThe full URL to request.
Optionaloptions: HTTPOptionsOptional headers, timeout, and response type.
An HTTPResponse with status, statusText, headers, and data.
MobileLockerHTTPError on network failure or timeout.
MobileLockerHttpResponseError on non-2xx responses.
Make a POST request to an external URL.
The full URL to request.
Optionalbody: unknownRequest body, serialized as JSON.
Optionaloptions: HTTPOptionsOptional headers, timeout, and response type.
An HTTPResponse.
MobileLockerHTTPError on network failure or timeout.
MobileLockerHttpResponseError on non-2xx responses.
Make a PUT request to an external URL.
The full URL to request.
Optionalbody: unknownRequest body, serialized as JSON.
Optionaloptions: HTTPOptionsOptional headers, timeout, and response type.
An HTTPResponse.
MobileLockerHTTPError on network failure or timeout.
MobileLockerHttpResponseError on non-2xx responses.
Make a PATCH request to an external URL.
The full URL to request.
Optionalbody: unknownRequest body, serialized as JSON.
Optionaloptions: HTTPOptionsOptional headers, timeout, and response type.
An HTTPResponse.
MobileLockerHTTPError on network failure or timeout.
MobileLockerHttpResponseError on non-2xx responses.
Make a DELETE request to an external URL.
The full URL to request.
Optionaloptions: HTTPOptionsOptional headers, timeout, and response type.
An HTTPResponse.
MobileLockerHTTPError on network failure or timeout.
MobileLockerHttpResponseError on non-2xx responses.
Make an HTTP request with full control over method and options.
MobileLockerHTTPError on network failure or timeout.
MobileLockerHttpResponseError on non-2xx responses.
Make a GET request to an external URL.
In the iOS app, requests are proxied through the native layer to bypass CORS. In the browser, standard
fetchis used and CORS rules apply.