'Curl Get Command after validating public and private key PKI Certs
Hello I am troubleshooting a Curl GET command. I am able to validate the PKI Certs with this request code:
curl --request POST --key "xxx.key" --cert "xxx" --header "X-OpenAM-Username:xxx " --header "X-OpenAM-Password: xxx" "https://xxx" -v
However when I run the next line of code the report I'm requesting downloads but gives me an empty file. I am thinking the issue is in my get command. Do I need to somehow reference the cert before I request the report?
curl --request GET -o "xxx" --header "Content-Type:text/csv" --header "xxx" "https:xxx"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
