Curl - Display errors using the -S or --show-error flag
                
            
            
            
            
            
            
                           
                
            
            
            
                
    
    
    
            
                
                    by
                    Jeremy Canfield  |  
                    Updated: June 24 2022
                    
                          |  Curl articles
                    
                    
                    
                
            
            The -S or --show-error option is only used along with the -s or --silent option. The -S or --show-error option will show errors.
curl --silent --show-error http://www.example.com/index.html
Did you find this article helpful?
If so, consider buying me a coffee over at 