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

Added auth example with Bearer Token #282

Merged
merged 1 commit into from
Feb 24, 2021
Merged

Conversation

keyuls
Copy link
Contributor

@keyuls keyuls commented Feb 8, 2021

chai-http supports Authorization with Bearer Token. But, this feature is not mentioned anywhere on the site or readme file.
This would be useful for many developers & Tester.

Ref: https://github.com/chaijs/chai-http/blob/master/dist/chai-http.js#L3359

chai-http supports Authorization with Bearer Token. But, this feature is not mentioned anywhere on the site or readme file. 
This would be useful for many developers & Tester.

Ref: https://github.com/chaijs/chai-http/blob/master/dist/chai-http.js#L3359
Copy link
Contributor

@austince austince left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @keyuls, this looks good to me, thanks! I'll merge this sometime this week when I try to merge + release #281 as well.

@austince
Copy link
Contributor

austince commented Feb 24, 2021

Update: will merge it right after #283 so we have something to test the CI fix with. I'll just merge this now, as CI is taking longer than I hoped.

@austince austince merged commit edb5bca into chaijs:master Feb 24, 2021
@keyuls
Copy link
Contributor Author

keyuls commented Feb 26, 2021

Thanks @austince

Do you know when will this change reflect on https://www.chaijs.com/plugins/chai-http/ page?

@austince
Copy link
Contributor

I'm actually not sure how that homepage is updated -- @keithamus will know.

@keithamus
Copy link
Member

Should be updated nightly.

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

Successfully merging this pull request may close these issues.

3 participants