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
multiple querystring params ignored #20
Comments
I did it on purpose because I was considering the following scenario:
The current implementation would output |
@jgelens When trying to accomplish what you intend I usually type |
I also noticed this issue. Since |
@twz123 thanks for your suggestion, but |
I think we can follow httpie's design. When we have multiple assignments in the same line, it should create multiple values for that parameter. For instance:
And if the assignment is done in a separate line, the parameter is overwritten by the last line entirely. For instance:
@jgelens does this solution work for you? |
Sounds great :-) |
Add #20: Multiple querystring params
Released with v0.4.2. Please upgrade it with:
|
Httpie supports sending multiple querystring args with the same key. http-prompt uses a dict behind the scenes and therefore only calls Httpie with a single value:
This should result in:
The text was updated successfully, but these errors were encountered: