apisecurityinaction icon indicating copy to clipboard operation
apisecurityinaction copied to clipboard

What is the meaning of pem in "curl pem https://localhost:4567/logs | jq " in page 86?

Open Babagilo opened this issue 3 years ago • 3 comments

Babagilo avatar Aug 25 '21 11:08 Babagilo

Oops, not sure how that ended up in there. Will raise it as an errata. Thanks for reporting it.

NeilMadden avatar Oct 25 '21 10:10 NeilMadden

To clarify - the "pem" shouldn't be there, it should be just curl https://localhost:4567/logs | jq

NeilMadden avatar Oct 25 '21 10:10 NeilMadden

This from Chap 3 , when I execute this getting the error ,what is missing here curl -k --cacert "$(./mkcert -CAROOT)/rootCA.pem" -d ‘{"username":"demo","password":"password"}’ -H ‘Content-Type:application/json’ https://localhost:4567/users curl: (3) URL using bad/illegal format or missing URL

Bad Message 400

reason: Illegal character OTEXT=0xe2

santikris2003 avatar Dec 18 '21 04:12 santikris2003