I use HTTPie on a script to convert images:
http --quiet --form --download --output "${png_path}" POST https://imagine.company.com/convert \
stripmeta==true \
lossless==true \
type==png \
background==white \
file@"${svg_path}"
It works, but when it fail I don't have any information because of the --quiet option:
bash build.sh
HTTPie version: 2.3.0
assets/fa-pro/png/brands/500px.png
make: *** [Makefile:4: build] Error 5
On that case, I have a Bad Gateway error (504).
If I remove it, I have the information but also when it success (200).
It would be great to have the possibility to quiet the output except if it's a request error.