restangular
restangular copied to clipboard
How to change request method 'put' to 'patch'?
I use 'addFullRequestIntercepor' like next. but It not work.
RestangularProvider.addFullRequestInterceptor(function(elem, operation, what, url, headers, params, httpConfig) {
if(operation=="put"){
operation="patch";
}
});
Regards.
+1
? +1