voliva / angular2-interceptors

79 stars 20 forks source link

Update interceptor-service.ts #1

Closed PAFsec closed 8 years ago

PAFsec commented 8 years ago

You forgot to pass the body object in the POST request

PAFsec commented 8 years ago

Or you should modify your function declaraction of post and remove the body from it, so it can be passed via the options object in order to be forwarded to the @angular2/http code

voliva commented 8 years ago

Right, my mistake. I will also update all other methods in a minute. And I'd like my implementation to be as compatible as possible with the original @angular/http. If I remove the body from these methods, it won't

voliva commented 8 years ago

Thank you very much for your contribution!

PAFsec commented 8 years ago

My pleasure ;)