transfer data from or to a server // transfer a URL
Provide a custom IP address for a specific
host:port pair. Use it like a lightweight
Silence progress information - pretty much required when piping output as this includes progress information
Use a cookie jar to save cookies.
-c specifies the file to save to, and
-b is required to actually send cookies.
Ignore certificate validation errors
Display response header information
To exclude the body from the response, you can use:
-s -D- -o/dev/null- dump header to stdout, send rest of output to
-I -X GETsomewhat confusing and potentially easy to mess up - fetch the header returned by a
-i includes headers in output
-I does not just show headers - it actually makes a HEAD request which in some cases can result in different headers being returned