cURL
curl --request GET \ --url https://api.example.com/stats \ --header 'X-API-Key: <api-key>'
Successful Response