I'm trying to delete a record, but when I access the laravel route using this
I'm trying to delete a record, but when I access the laravel route using this
You need to put a header.It's like this:
this.$http.delete(this.$root.baseUrl + 'user/delete/'+id,{headers:{
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}})