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
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
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
How do you display POST data with cURL? - Super User Is there an option in cURL to display the string "firstname=john lastname=doe" in the output? Note: Obviously the string I want is in the command I executed, but there are several other post options such as --form and --data-ascii etc
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
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
Write output of wget or curl to a custom filename based on the url 37 curl has the -o, --output option which takes a single argument indicating the filename output should be written to instead of stdout If you are using {} or [] to surround elements in the URL (usually used to fetch multiple documents), you can use # followed by a number in the filename specifier