0

我想使用 REST API 删除用户。我尝试使用

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

4

1 回答 1

1

在 REST 中有 DELETE HTTP 方法用于删除。

于 2013-06-29T06:15:27.627 回答