Authorization

Last updated

Last updated
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Api-Key: ' . $api_key]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);import requests
headers = {"Api-Key": api_key}
response = requests.get(url, headers=headers)fetch(url, {
method: "GET",
headers: {
"Api-Key": api_key
}
}).then();