앱 아이디는 206054 이구요
PHP curl 로 request 하는데요
$param = array(
‘grant_type’ => ‘authorization_code’,
‘client_id’ => ‘rest api’,
‘code’ => 인가 코드,
‘redirect_uri’ => $redirectURI,
‘client_secret’ => ‘보안코드’
);
$url = “https://kauth.kakao.com/oauth/token”;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(‘Content-Type:application/x-www-form-urlencoded’));
curl_setopt($ch, CURLOPT_POSTFIELDS, $param);
$response = curl_exec ($ch);
파라미터랑 content-type 도 정확히 했는데 계속 KOE010 에러가 뜹니다 어떤게 문제일까요?