News for hackers. Stuff that matters.
Re:A new curl option was born: --url-query by silverwind on Thursday November 10, 2022 @09:24AM (#33546864)
curl inferring the HTTP method from options is just bad design. It should have always been explicit via `-X`, but weirdly enough it sometimes warns when using that option.

Also, it seems some curl behaviours live in the past where only GET and POST verbs exists, ignoring others like PUT and PATCH.

Re:A new curl option was born: --url-query by chrsig on Thursday November 10, 2022 @10:55AM (#33548292)
They didn't live in the past when implemented :)

Backwards compatibility is a wonderful thing, but leads to anachronisms 20 years later.

`-X` exists for anyone that doesn't want curl's divination