function getKakaoJWTToken()
{
$url = "https://a...content-available-to-author-only...o.com/v1/token";
"Content-Type: application/json",
);
$response = curl
($url, json_encode(array('grant_type' => 'client_credentials')), $header);
return $arr['accesstoken'];
}
ZnVuY3Rpb24gZ2V0S2FrYW9KV1RUb2tlbigpCnsKICAgICR1cmwgPSAiaHR0cHM6Ly9hLi4uY29udGVudC1hdmFpbGFibGUtdG8tYXV0aG9yLW9ubHkuLi5vLmNvbS92MS90b2tlbiI7CiAgICAkaGVhZGVyID0gYXJyYXkoCiAgICAgICAgIkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbiIsCiAgICAgICAgJ0F1dGhvcml6YXRpb246IEJhc2ljICcgLiBiYXNlNjRfZW5jb2RlKCd767mE7KaI67+M66as7Jik6rOE7KCVOuu5hOymiOu/jOumrOyYpOu5hOuwgOuyiO2YuH0nKSwKICAgICk7CiAgICAkcmVzcG9uc2UgPSBjdXJsKCR1cmwsIGpzb25fZW5jb2RlKGFycmF5KCdncmFudF90eXBlJyA9PiAnY2xpZW50X2NyZWRlbnRpYWxzJykpLCAkaGVhZGVyKTsKCiAgICAkYXJyID0ganNvbl9kZWNvZGUoJHJlc3BvbnNlLCB0cnVlKTsKICAgIHJldHVybiAkYXJyWydhY2Nlc3N0b2tlbiddOwp9