Any suggestions how to pass authentication using variable in curl?
This is what I have, tried playing without quotes, but no luck.
curl -X GET "https://example.com/site" \ -H 'x-auth-email: "${API_EMAIL}"' \ -H 'x-auth-key: "${API_KEY}"' \ -H "Content-Type: application/json"