News for hackers. Stuff that matters.
Re:HTTPie – A user-friendly CLI HTTP client by detaro on Sunday December 01, 2019 @11:32AM (#21676198)
Fairly sure I'd forget all the time that it thinks giving it a syntax that looks like form-encoded obviously means I want to send a JSON request.
Re:HTTPie – A user-friendly CLI HTTP client by BoorishBears on Sunday December 01, 2019 @02:04PM (#21677177)
key=value is a convention used in so many places that have nothing to do with form encoding

Would Java developers see this and imagine you're passing values for a .properties file?

If you've never seen the tool before, you also wouldn't know how it works at all. Once you hit help for the first time (you know, to actually learn how to use it), knowing it defaults to JSON is pretty much a base truth.

It's entire value proposition seems to be stongly tied to JSON support (2nd highest feature in the pitch at the top).

This is like saying you'd forget jq takes JSON strings...

Re:HTTPie – A user-friendly CLI HTTP client by stephenr on Sunday December 01, 2019 @03:18PM (#21677561)
How many key/value formats commonly used for http request/response transactions use = ??

The first feature pitch is “user-friendly curl alternative with intuitive UI”.

Re:HTTPie – A user-friendly CLI HTTP client by BoorishBears on Monday December 02, 2019 @11:03AM (#21683597)
I'll leave it at this, I'm glad they prioritized not having to escape JSON on the command line over people who have no idea about how the tool works being able to guess how to pass form inputs.

That is probably the most user friendly difference they could make for working with JSON based APIs

Re:HTTPie – A user-friendly CLI HTTP client by insomniacity on Sunday December 01, 2019 @03:36PM (#21677646)
Right, but this is HTTP, which has used form encoding since... 1998, if RFC 2388 is to be believed.
Re:HTTPie – A user-friendly CLI HTTP client by hinkley on Sunday December 01, 2019 @04:10PM (#21677802)
That doesn’t sound right. I’m pretty sure it’s older than that. New RFCs tend to replace old ones and I don’t think they reliably make it painfully obvious this is what’s happening.