[Fixed]-Why $http.delete in angularJS does not work?

1👍

i solved my problem by rewriting method .run()

 myApp.run(function($http) {
  $http.defaults.xsrfCookieName = 'csrftoken';
$http.defaults.xsrfHeaderName = 'X-CSRFToken';
});

Leave a comment