News for hackers. Stuff that matters.
Re:HTTPie – A user-friendly CLI HTTP client by bpfrh on Sunday December 01, 2019 @10:26AM (#21675868)
hmmm how about this:

-M for Method

-B for Body

-RH for Request Header

you know, so you only have to know the first letter and don't have to remmeber arbitary flags?

I know that it is not that easy, but unix tools do have the problem that often the flags don't make sense on the first glance.

Re:HTTPie – A user-friendly CLI HTTP client by jbreiding on Sunday December 01, 2019 @10:30AM (#21675896)
-H for header

-d for data

-X for execute

There was a reasonable attempt at this already. There are going to opinions on either side. And through regular use the flags would become muscle memory.

Re:HTTPie – A user-friendly CLI HTTP client by microcolonel on Sunday December 01, 2019 @11:22AM (#21676143)
> I know that it is not that easy, but unix tools do have the problem that often the flags don't make sense on the first glance.

Should you be sending HTTP requests to something without knowing precisely what you're doing? httpie just sorta assumes from your arguments what you're trying to do, and for me it has often been wrong. Probably works OK if you have a mostly read-only API.

Re:HTTPie – A user-friendly CLI HTTP client by bpfrh on Monday December 02, 2019 @08:15PM (#21689009)
I don't send random things, I either look up curl if I need to script something or I just use postman.

EDIT: Depends, most of the time I use standard JSON Rest apis, there is not really that much to misassume I think.