Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom HTTP headers #2

Closed
dbenninger opened this issue Aug 8, 2016 · 5 comments
Closed

Custom HTTP headers #2

dbenninger opened this issue Aug 8, 2016 · 5 comments

Comments

@dbenninger
Copy link

I am calling a JsonApi service that requires OAuth2 authentication. It would be cool, if we could set custom HTTP headers somehow...

Btw.. nicely done!

@ghidoz
Copy link
Owner

ghidoz commented Aug 24, 2016

Good point! Do you want to set them just once for every call, or different headers for each call?

@dbenninger
Copy link
Author

Once for every call should be fine, as long as we can update them any time...

@ghidoz
Copy link
Owner

ghidoz commented Aug 25, 2016

I already add them by default to every call

@ghidoz
Copy link
Owner

ghidoz commented Aug 25, 2016

Please check the new v1.1.0 and the documentation: https://github.com/ghidoz/angular2-jsonapi#custom-headers

@dbenninger does it fulfill your needs?

@dbenninger
Copy link
Author

very nice! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants