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

support .netrc like curl #2094

Closed
jaminalder opened this issue Oct 26, 2023 · 2 comments · Fixed by #2344
Closed

support .netrc like curl #2094

jaminalder opened this issue Oct 26, 2023 · 2 comments · Fixed by #2344
Labels
Milestone

Comments

@jaminalder
Copy link

Problem to solve

Today we use --variables-file to refer to credentials.
I think it would be really nice if hurl could support credentials stored in .netrc .

Proposal

Respect .netrc as curl does. Described here:
https://everything.curl.dev/usingcurl/netrc

Or is there a way to pass curl parameters trough? Than this should work already now.

@jaminalder jaminalder added the enhancement New feature or request label Oct 26, 2023
@jcamiel
Copy link
Collaborator

jcamiel commented Oct 26, 2023

Hi @jaminalder

Thanks for the issue. As these options are exposed through libcurl it shouldn't be difficult to add to Hurl!

@jaminalder
Copy link
Author

That's great, thanks a lot for solving this!

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

Successfully merging a pull request may close this issue.

2 participants