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
How to use auth info from .netrc is not clear #139
Comments
For now, HTTPie always tries to read the default |
Hm...I have a |
Here is a working example: Without
Added this to
And it's picked up:
You can also set the |
Actually, you can run |
I've opened a pull request to modify the readme with a short example of this. |
Just to follow up, I had no value next to one of the |
I was having trouble with installing bashhub. Turns out that my .netrc had the wrong permissions and had a comment. Fixed these issues and bashhub now installs. The command I got from [GitHub](httpie/cli#139) to explore this was: python -m .netrc
I was having trouble with installing bashhub. Turns out that my .netrc had the wrong permissions and had a comment. Fixed these issues and bashhub now installs. The command I got from [GitHub](httpie/cli#139) to explore this was: python -m .netrc
The README says "Authorization information from
.netrc
is honored as well", but it's not clear how this is done. The README should be updated to explain this. I'd submit a PR, but I still can't figure it out. Not quite as easy ascurl -n
.The text was updated successfully, but these errors were encountered: