restangular
restangular copied to clipboard
Response from a put/post does not pass the interceptor
I am doing some global transformations on my requests and responses through the interceptors (in case: dates) When I do a put/post the response I get is not being passed through the interceptors however. And I need to use the response for further actions (e.g. for delete, I need the ID generated).
Hope this somehow makes sense?
same problem here, I need the response but the promise dont be resolved or reject, IF exists a promise in post or customPOST