jquery ajax delete 1

jquery ajax delete

    url: 'https://cdn.myedukit.com/script.cgi',
    type: 'DELETE',
    success: function(result) {
        // Do something with the result

Here is what the above code is Doing:
1. The first line creates a new XMLHttpRequest object.
2. The second line opens a new connection, using the GET request on the URL endpoint.
3. The third line sends the request.
4. The fourth line logs the server response to the console.

Similar Posts