3 ms·
HTTPie does not support multi-valued keys in query strings (sending several field[]= for example). It is very annoying and, for consistency, I would rather use
by Diti 5y ago
HTTPie does not support multi-valued keys in query strings (sending several field[]= for example). It is very annoying and, for consistency, I would rather use cURL (instead of mixing syntax with HTTPie).
- jkbr 5y agoIf I’m understanding your point correctly, HTTPie has support for multi-value keys in query strings. You can use the `name==value` query parameter syntax [0]: $ http --offline pie.dev/get AAA==AAA AAA==BBB GET /get?AAA=AAA&AAA=BBB HTTP/1.1 Or simply: $ http --offline 'pie.dev/get?AAA=AAA&AAA=BBB' GET /get?AAA=AAA&AAA=BBB HTTP/1.1 [0]https://httpie.io/docs/cli/querystring-parameters https://httpie.io/docs/cli/querystring-parameters