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

[feature] Login/logout without GET/POST #7

fcarreiro opened this Issue Jul 7, 2016 · 0 comments


None yet
1 participant

fcarreiro commented Jul 7, 2016

Use case: I have an API where I need to send a basic-auth header on every call, but I don't necessarily need to do a separate GET/POST to login/logout. In this case, it would be useful to have a function that sets the headers and one that clears them. Alternatively, one could check if url is null and skip the $http call.

If you find that this feature makes sense, I can create a PR.

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