Hide status output from jq in dos/windows
Solution: In order to remove the progress bar on curl restful api response ,Use the --silent
flag (in short -s
) or use --no-progress-meter
. I suggest using the latter because you'd like to get warnings and informational messages on bad responses.
examples:
1.
curl -s <Web-Address>
OR curl --silent <Web-Address>
2.
curl --no-progress-meter <Web-Address>
For more Curl Documentation
-s, --silent
Silent or quiet mode. Don't show progress meter or error messages.
Makes Curl mute.
It will still output the data you ask for, potentially even to the terminal/stdout unless you redirect it.
Use -S, --show-error in addition to this option to disable progress meter but still show error messages.
--no-progress-meter
Option to switch off the progress meter output without muting or otherwise affecting warning and informational messages like -s, --silent does.
Note that this is the negated option name documented. You can thus use --progress-meter to enable the progress meter again.
curl --silent
-s, --silent Silent or quiet mode. Do not show progress meter or error messages. Makes Curl mute.
- Example
- explainshell.com - curl --silent