Closed Fornori closed 5 years ago
I think you need this: template interceptor
here some examples
One of the major changes in rest.js 2.0 is that request params are no longer automatically applied to the path. The same behavior is available in the rest/interceptor/params
interceptor.
rest.js is no longer maintained
Hello. I have the code like this:
rest({ method: 'GET', path: 'http://localhost:7777/api/users', params: { size: "2" } });
As result I expect some think like this: http://localhost:7777/api/users?size=2 but i get. with out any params. So params only work with post|put|delete?