3 ms·
Is there anything to format your responses when using curl ? the reason why I dont use curl often and rely on some browser extensions or an app. for simple usec
by rammy1234 7y ago
Is there anything to format your responses when using curl ? the reason why I dont use curl often and rely on some browser extensions or an app. for simple usecases
- tvon 7y agoYou could pipe to `jq` (https://stedolan.github.io/jq/ https://stedolan.github.io/jq/), or send the response to a file and view with whatever.
- cfors 7y agoPipe to jq is the best. Other than that you can always furiously search stack overflow for some arcane sed/awk/grep-fu. There is also the -w option to format. Sometimes I’ll write a small python script to pipe output into for wrangling data.