News for hackers. Stuff that matters.
Re:“I Could Rewrite Curl” by aerovistae on Thursday May 20, 2021 @10:34AM (#27221618)
I'm one of the 98%, and I don't like using cURL for this reason -- the CLI feels clunky and its gigantic number of options are distracting for my simple use case.

Can anyone recommend a good alternative for the base case?

Re:“I Could Rewrite Curl” by spost on Thursday May 20, 2021 @10:38AM (#27221683)
https://httpie.io/ is pretty nice.
Re:“I Could Rewrite Curl” by justin_oaks on Thursday May 20, 2021 @12:14PM (#27223081)
I recognize the huge amount of time and effort that went into make cURL, but I agree that the gigantic number of options are distracting. When I read the cURL man page, I have a hard time finding what I want because there are literally dozens of screens of options.

That said, I still will reach for cURL even when simpler options exist because it's ubiquitous. Same thing with Bash, grep, and sed.

Re:“I Could Rewrite Curl” by pdimitar on Monday May 24, 2021 @06:12PM (#27270303)
I loved using `xh` lately.

https://github.com/ducaale/xh

Re:“I Could Rewrite Curl” by arodyginc on Thursday May 20, 2021 @10:47AM (#27221810)
wget maybe