CURLOPT_URL => 'https://f...content-available-to-author-only...l.app/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER
=> array( 'X-Client-Secret: d4a4a78c4e29dd882f2133d0f5602bdfc74121fc',
'X-Client-Id: CF43094CERB9UUTNOL50VJNUMPG',
'Content-Type: application/json'
),
));
echo $response;
JGN1cmwgPSBjdXJsX2luaXQoKTsKCmN1cmxfc2V0b3B0X2FycmF5KCRjdXJsLCBhcnJheSgKICBDVVJMT1BUX1VSTCA9PiAnaHR0cHM6Ly9mLi4uY29udGVudC1hdmFpbGFibGUtdG8tYXV0aG9yLW9ubHkuLi5sLmFwcC8nLAogIENVUkxPUFRfUkVUVVJOVFJBTlNGRVIgPT4gdHJ1ZSwKICBDVVJMT1BUX0VOQ09ESU5HID0+ICcnLAogIENVUkxPUFRfTUFYUkVESVJTID0+IDEwLAogIENVUkxPUFRfVElNRU9VVCA9PiAwLAogIENVUkxPUFRfRk9MTE9XTE9DQVRJT04gPT4gdHJ1ZSwKICBDVVJMT1BUX0hUVFBfVkVSU0lPTiA9PiBDVVJMX0hUVFBfVkVSU0lPTl8xXzEsCiAgQ1VSTE9QVF9DVVNUT01SRVFVRVNUID0+ICdHRVQnLAogIENVUkxPUFRfSFRUUEhFQURFUiA9PiBhcnJheSgKICAgICdYLUNsaWVudC1TZWNyZXQ6IGQ0YTRhNzhjNGUyOWRkODgyZjIxMzNkMGY1NjAyYmRmYzc0MTIxZmMnLAogICAgJ1gtQ2xpZW50LUlkOiBDRjQzMDk0Q0VSQjlVVVROT0w1MFZKTlVNUEcnLAogICAgJ0NvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbicKICApLAopKTsKCiRyZXNwb25zZSA9IGN1cmxfZXhlYygkY3VybCk7CgpjdXJsX2Nsb3NlKCRjdXJsKTsKZWNobyAkcmVzcG9uc2U7Cg==
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://f...content-available-to-author-only...l.app/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'X-Client-Secret: d4a4a78c4e29dd882f2133d0f5602bdfc74121fc',
'X-Client-Id: CF43094CERB9UUTNOL50VJNUMPG',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;