Send a GET request.
A function to be called when any request finishes (after success and error callbacks are executed).
A function to be called if any request succeeds.
A function to be called if any request fails.
Send a POST request.
Send an ajax request.
Allows data to be sent asynchronously to a server with navigator.sendBeacon, even after a page was closed. Useful for posting analytics data the moment a user was finished using the page.
Upload a file blob.
HTTP类