Getting curl to output HTTP status code? - Super User I'm using curl at the command line on Linux to issue HTTP requests The response bodies are printed to standard out, which is fine, but I can't see from the man page how to get curl to print the
How to fix curl sslv3 alert handshake failure? - Unix Linux Stack . . . How do I ignore or force the certificate using curl command line? When using wget seems to work fine Also works when testing with openssl as below: $ openssl s_client -connect thepiratebay se:443 CONNECTED(00000003) SSL handshake has read 2651 bytes and written 456 bytes New, TLSv1 SSLv3, Cipher is AES128-SHA Server public key is 2048 bit
What is `curl -o-`? - Unix Linux Stack Exchange (curl -o- and curl -o - act the same ) Explicitly sending the output to stdout seems a bit redundant, since that's the default anyway However, the man page does mention using multiple -o options for multiple URLs to download, so it might be more useful in that context
What is the meaning of curl -k -i -X in Linux? - Unix Linux Stack . . . This option allows curl to proceed and operate even for server connections otherwise considered insecure The server connection is verified by making sure the server's certificate contains the right name and verifies successfully using the cert store
Health check of web page using curl - Unix Linux Stack Exchange I'd like to do a health check of a service by calling a specific url on it Feels like the simplest solution would be to use cron to do the check every minute or so In case of errors, cron sends m
unable to curl on ip address however localhost is working fine Is the remote host accessible from your machine? Is there an external service running on port 9200 on the remote host? Does the local host's firewall allow you to make outgoing connection to the remote machine and does the remote machine's firewall allow incoming connections on that port? The etc hosts file will not make any difference here as you are already using an IP address with curl