Friendica
daniel:// stenberg://
daniel:// stenberg://

daniel:// stenberg://

bagder@mastodon.social

daniel:// stenberg://

bagder@mastodon.social
I write curl. I don't know anything.
ActivityPub
2024-03-05 16:56:21 2024-03-05 15:08:21 2024-03-05 15:08:18 4627946

daniel:// stenberg://
daniel:// stenberg://
mastodon - Link to source

daniel:// stenberg://

1 year ago • •

daniel:// stenberg://

1 year ago • •


On this day two years ago, #curl got the --json option in the 7.82.0 release: curl.se/docs/manpage.html#--js…

curl - How To Use

curl.se
#curl
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

ghorwood↙↙↙
mastodon - Link to source

ghorwood↙↙↙

in reply to daniel:// stenberg:// • 1 year ago • •
goddamn. apparently i have thirty-something shell scripts i have to rewrite this morning.
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

Thibault D.
mastodon - Link to source

Thibault D.

in reply to daniel:// stenberg:// • 1 year ago • •
cool! The one thing i find myself doing the most when using curl is piping to another program to pretty-print the JSON payload of the response. Would that be a possible option to add to curl? (Shame on me if it already exists)(and I don't mean the write-out option)
  •  Languages
  •  Search Text
  •  Share via ...
in reply to Thibault D.

daniel:// stenberg://
mastodon - Link to source

daniel:// stenberg://

in reply to Thibault D. • 1 year ago • •
@ThibaultDu I think jq and other tools already do excellent json pretty printing, I don't think curl needs to do it!
@Thibault D.
  •  Languages
  •  Search Text
  •  Share via ...
⇧