4 ms·
I keep switching between curl + jq vs httpie. Lately I've been using mostly httpie. It is a great tool. One of my favorite things is it builds json objects (say
by rdtsc 10y ago
I keep switching between curl + jq vs httpie. Lately I've been using mostly httpie. It is a great tool. One of my favorite things is it builds json objects (say for 'put' and 'post' for example) using command line arguments. So can have:
$ http put url key1=val1 key2=val2
If one of the fields is a larger nested object can use :=
$ http put url key1=simpleval1 key2:='{literaljson...}'