httpDelete
Makes a DELETE request to the passed URL.
- Use the
XMLHttpRequestweb API to make aDELETErequest to the givenurl. - Handle the
onloadevent, by running the providedcallbackfunction. - Handle the
onerrorevent, by running the providederrfunction. - Omit the third argument,
errto log the request to the console's error stream by default.