New answers tagged

1 vote

Get response body and show HTTP code by curl

Even though we are appending http_code as a newline the http_code is showing up as the last line. I think this is because as the man page describes: "-w Makes curl display information on stdout ...
Michael Dimmitt's user avatar
0 votes

Curl won't prompt me for a certificate password

I am able to use a P12 and I use an environment variable for the password, which I obtain via a secure prompt ahead of time. Code: read -sp "Certificate Password: " CERTPASS curl --cert-type ...
Michael Behrens's user avatar

Top 50 recent answers are included