If you have a use case where you want to hide what is outputted on the Terminal when you run a cURL request, then you would have to do a combination of steps.
Example 1: Hide the Progress Meter
If you do not want to see the progress details then make use of the option --no-progress-meter
Example: With Progress Meter% curl -o sample.html http://example.com
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1256 100 1256 0 0 2868 0 --:--:-- --:--:-- --:--:-- 2907
Example: Without Progress Meter
% curl -o sample.html --no-progress-meter http://example.com
%

As you can see using --no-progress-meter you do not see the meter and the file is saved without any output on the console.
Example 2: Hide outputs using --silent or -s option
-s or --silent is a flag you can use with cURL to execute your request in quiet mode, it will not show the progress meter or any error messages on the console.
% curl -s -o sample.html http://example.com

Note: Make use of --show-error with -s option to disable the progress meter but to display error messages.
Example 3: Hide all cURL Request Outputs
If you do not want to display any output text be it progress, output data, or error messages then you will need to make use of the combination of --silent and redirect the output to /dev/null
Example:% curl --silent http://example.com > /dev/null
Example:
% curl -s -o /dev/null http://example.com

Have Questions? Post them here!
- cURL Example using IP (IPv4 and IPv6) address and Port
- Efficient way to perform HTTP cURL GET/POST Requests with Payload
- Save cURL Command Output to a external file
- How to set Connection and Max Timeout for cURL Request with Examples
- [fix] command not found curl
- Fetch only content-type using cURL Command
- Trace using cURL Command Example
- Hide cURL Outputs and Errors on Terminal
- cURL Option to show HTTP Response Status Code
- Downloading Google Chrome using cURL Command
- Perform Basic Authentication using cURL with Examples
- List of 28 Protocols supported by cURL with Examples
- URL Encode cURL HTTP GET\POST Data with Examples
- Get the Size of HTTP Response using cURL Command (Content Length)
- How to get cURL Command to run in verbose mode?
- Get cURL command from Chrome Inspect Network HTTP URL
- Get HTTP Request Response Headers Safari Browser - MacOS
- Use 5G Network on Android Emulator - Android
- [Fix] MySQL Docker ERROR 1045 (28000): Access denied for user root@localhost (using password: YES/NO) - MySQL
- How to Install glib on Mac - MacOS
- Hide Scrollbar from Android Views - Android
- Convert Java Object to XML using Jackson Library - Java
- How to remove Siri from Menu Bar [macOS Big Sur] - MacOS
- How to know the current version of Java - Java