0

I want to delete user using REST API. I try to use

 id = $(this).attr('rel');
    $.ajax({
        url: App.url+'/allusers/users/'+id, 
        type: 'DELETE',
        success: function(data){
            alert(data);    
        }
    });

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Ravi Prakash
  • 23
  • 1
  • 7

1 Answers1

1

There is DELETE HTTP method used to delete in REST.

Alex
  • 323
  • 2
  • 8