apisecurityinaction
apisecurityinaction copied to clipboard
What is the meaning of pem in "curl pem https://localhost:4567/logs | jq " in page 86?
Oops, not sure how that ended up in there. Will raise it as an errata. Thanks for reporting it.
To clarify - the "pem" shouldn't be there, it should be just curl https://localhost:4567/logs | jq
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