My question is very simple. I want to use environment variables in a cURL command sth similar to this:
curl -k -X POST -H \'Content-Type: application/json\' -d \
Our: curl -k -X POST -H 'Content-Type: application/json' -d '{"username":"'"$USERNAME"'","password":"'"$PASSWORD"'"}'
curl -k -X POST -H 'Content-Type: application/json' -d '{"username":"'"$USERNAME"'","password":"'"$PASSWORD"'"}'