https://push-api.sare.pl/v1/websites
$url = "https://push-api.sare.pl/v1/websites";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Authorization: Basic <YOUR_API_KEY>']);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);
curl --include \
--header "Authorization: Basic <YOUR_API_KEY>" \
https://push-api.sare.pl/v1/websites
[
{
"created": 1567758267,
"uid": "https-website1-pl",
"website": "https://website1.pl"
},
{
"created": 1569175653,
"uid": "https-website2-pl",
"website": "https://website2.pl"
}
]