Pretty print Curl JSON responses in terminal
Today I wanted to test one of my APIs and used curl to get the response in the terminal. The output wasn't clear at all because it usually returns everything in one line.
Fortunately, there was a way to pretty-print the response, as in real json format. All you have to do is pipe the json_pp command after your curl command.
Ex:
curl --location --request GET 'http://my.api.local/api' --header '...' | json_pp
and that's it. You should see a formatted json response.
Hope this will help someone. Please feel free to comment and let me know if you know any other better way :)
B3 Bomber Aviator Shearling Leather Jacket Welted Seams, Double Buckle Throat Latch, Heavy Duty Front Zipper Over a Wind Flap for Extreme Winters, Broad Collars like American Flying Aviator Jacket, Two Waist Pockets. Made with Pre Loved Shearling Reconditioned to Perfection, You Will Find The Fur Lining Jacket As Good As New!!Thick, Supple & Buttery Smooth Sheepskin With a Nappa Leather Finished Outer Shell Coupled with Heavy Sheep Shearling Adjustable Belted Straps at the Waist.
ReplyDeletehttps://mready.co/product/b3-bomber-aviator-shearling-leather-jacket/
The blog is really good. Thanks for sharing it. best tds meter in india
ReplyDeleteI love your article. glass top gas stove vs stainless steel
ReplyDeleteCheckout our website for buying guide about gas stoves.
ReplyDeleteHob top gas stove
Checkout our website for buying guide about gas stoves.
ReplyDeleteHob top gas stove
https://bitmapcake.blogspot.com/2021/01/pretty-print-curl-json-responses-in.html?showComment=1613556698797#c2399693857365168803
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteMEN COWBOY WESTERN LEATHER JACKET is one of the unique additions to our premium leather products. It is made in genuine suede leather with perfectly cut equal size fringes. We have wide variety of designs in western Jackets. We have almost all color option in these Jackets. WESTERN LEATHER JACKET is hand crafted with quality beads work. These jackets will give you an attractive look. We have custom tailoring options as well. The garment you’ll receive will be of exact measurement that you’ll choose from the size chart.
ReplyDeleteWESTERN LEATHER JACKET
MEN COWBOY WESTERN LEATHER JACKET is one of the unique additions to our premium leather products. It is made in genuine suede leather with perfectly cut equal size fringes. We have wide variety of designs in western Jackets. We have almost all color option in these Jackets. WESTERN LEATHER JACKET is hand crafted with quality beads work. These jackets will give you an attractive look. We have custom tailoring options as well. The garment you’ll receive will be of exact measurement that you’ll choose from the size chart.
ReplyDeleteWESTERN LEATHER JACKET
Thankyou so much for sharing this info
ReplyDeleteHiring a wedding Photographer in udaipur
Hyperlocal Advertising: All You Need To Know
This comment has been removed by the author.
ReplyDeleteThanks for sharing this unique information with us. Your post is really awesome. Your blog is really helpful for me..
ReplyDeleteibm full form in india |
ssb ka full form |
what is the full form of dp |
full form of brics |
gnm nursing full form |
full form of bce |
full form of php |
bhim full form |
nota full form in india |
apec full form