-
Notifications
You must be signed in to change notification settings - Fork 831
Open
Description
Hello. I'm trying to migrate from Angular $resource to Restangular.
I'm facing some difficulties trying to reproduce this behavior:
MyResource.query({}, function(data, headers) {
vm.items = data;
vm.customStatus = headers('My-Custom-Header');
});
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.
Metadata
Metadata
Assignees
Labels
No labels