@sikh

8 Followers
28 Following
3 Posts

With the announcement of #curl 7.87.0 supporting a new `--url-query name=value` option to append query string parameters, I learned that this was already possible in a limited form with `--get -d name=value` since 2001, and safely with `--data-urlencode` since 2008.

And I've been manipulating query string parameters manually like a noob all this time.

https://github.com/curl/curl/commit/b6e1afd069f0a621b21bf27a461dc5297ce30031

https://daniel.haxx.se/blog/2022/11/10/append-data-to-the-url-query/

curl: add --url-query · curl/curl@b6e1afd

This option adds a piece of data, usually a name + value pair, to the end of the URL query part. The syntax is identical to that used for --data-urlencode with one extension: If the argument start...

GitHub