It depends what you want to do. From the curl manpage we can see that -s
means "silent mode":
-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.
and that -S
means to show errors:
-S, --show-error
When used with -s it makes curl show an error message if it fails.
Personally, I would use -sS
.