jquery ajax put request Edit

Murugan Andezuthu Dharmaratnam | 31 August 2020 | 71

how to call a put method using jquery ajax

You could use the ajax method

$.ajax({
    url: '/yourcontrollername/youractionmethod',
    type: 'PUT',
    success: function(result) {
        // Do something with the result
        alert(result);
    }
});             
                    

you can put any url, the sample url controller / action method is for an asp .net mvc application.