restangular icon indicating copy to clipboard operation
restangular copied to clipboard

AngularJS service to handle Rest API Restful Resources properly and easily

Results 101 restangular issues
Sort by recently updated
recently updated
newest added

I'm trying to intercept requests based on their headers and I see that the headers object in addFullRequestInterceptor is empty: ```JS Restangular.addFullRequestInterceptor(function(element, operation, what, url, headers, params, httpConfig ) {...

Hi, Thanks for this wornderful tool , its really very hepful . i am novice for this tools .my sincere apologies if i have raised a very basic query ....

Hey there, I would love a method to stop all running requests executed by Restangular. The global $window.stop() functionality is too extensive, because it also stops requests for HTML-templates and...

Is there a way to set the default headers to undefined for a single request? I'm well aware of the optional headers ~~withHttpConfig~~, but it ignores undefined value(bug?), i.e. uses...

bug
waiting for PR

I know it sends a put request. But does it send the restangular object in json ? What should i do to send the request body in json format.

The data in server: ` [{"id":1,"name":"myName1","head":"6E02"},{"id":2,"name":"myName2","head":"6E03"}]` when I use getList(),I get something like this: `[{"id":1,"name":"myName1","route":"dtTypeList","reqParams":null,"restangularized":true,"fromServer":true,"parentResource":null,"restangularCollection":false},{"id":2,"name":"myName2","route":"dtTypeList","reqParams":null,"restangularized":true,"fromServer":true,"parentResource":null,"restangularCollection":false}]` It loss 'head' property data. I don't know how to fix this problem. restangular v1.6.1...

Once i enable setMethodOverride for get ( you want to do this if the requests parameters become quite long ). It doesn't work for all the getList calls.

enhancement
waiting for infos
waiting for merge

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...

From the angular documentation I see this- When performing XHR requests, the $http service reads a token from a cookie called XSRF-TOKEN and sets it as the HTTP header X-XSRF-TOKEN...

I use Laravel in server side and every thing was good until i used Pagination the error : Error: Response for getList SHOULD be an array and not an object...