Answer the question
In order to leave comments, you need to log in
Why does the $http.patch() function throw an "undefined is not a function" error in AngularJS?
Connected AngularJS. I use the method: $http.patch(url, data);
In the console it gives out undefined is not a function
On stackoverflow it is written that the $http service does not have such a method as patch. But according to the documentation it is.
Answer the question
In order to leave comments, you need to log in
Shortcut $http.patch is implemented in version 1.3.4.
Pay attention to this method https://github.com/angular/angular.js/blob/master/...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question