I want only for some certain requests to be able to inspect the full response data (and read its headers). I've found that setFullResponse() with addResponseInterceptor() is the way to go, but I can't get it working for a single request.
I'm using Decoupled Services, is this possible to make? Or I must use the main Restangular service?
Thanks for your help.
Hello. I'm trying to migrate from Angular $resource to Restangular. I'm facing some difficulties trying to reproduce this behavior:
I want only for some certain requests to be able to inspect the full response data (and read its headers). I've found that
setFullResponse()
withaddResponseInterceptor()
is the way to go, but I can't get it working for a single request. I'm using Decoupled Services, is this possible to make? Or I must use the main Restangular service? Thanks for your help.