angular2-rest
angular2-rest copied to clipboard
Angular2 HTTP client to consume RESTful services. Built with TypeScript.
This should be configurable at execution time
Do you plan to add tests for this package? If so, would you prefer to use jasmine+sinonjs, jasmine+jasmine-ajax or something different? I would like to contribute, but without tests checking...
I'm new to observables and this service seems to use them heavily. I'd like to transform the response so that it creates a collection (on GET resource/) of entities implementing...
Hey really nice library you have here. I stumbled on an issue though and figured out that the body (added with @Body) is always passed to JSON.stringify(). It's a problem...
What do you think about this decorator? ``` @JSONP export class RestService {.. ``` It just will use JSONP service instead of HTTP https://angular.io/docs/js/latest/api/http/JSONP_PROVIDERS-let.html Thanks!
node_modules/angular2-rest/angular2-rest.d.ts(1,1): error TS2654: Exported external package typings file cannot contain tripleslash references. Please contact the package author to update the package definition. node_modules/angular2-rest/angular2-rest.d.ts(1,1): error TS6053: File 'node_modules/angular2-rest/node_modules/angular2/core.d.ts' not found. node_modules/angular2-rest/angular2-rest.d.ts(2,1):...
The following code snippet will introduce a race condition, should one try to call SomeRESTClient before the _session has been populated, by the `createSession` request. ``` javascript @Injectable() @BaseUrl('https://api.someplace.com') @DefaultHeaders({...