안녕하세요 카카오 스토리 글쓰기api를 넣으려합니다

초보인데 열심히 따라왔습니다.

php로 구축하고 있는데
$content=“test”;
$access_token=“xxxxxx”<- 발급받은 코드로하여

$ch = curl_init();
$url = "https://kapi.kakao.com/v1/api/story/post/note";

$header=array("Content-Type:application/json","charset:utf-8","Authorization: Bearer $access_token");
$param =array("content"=>"$content");

curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $param);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
//curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
// curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
$curl_data = curl_exec($ch);

하면 결과가

[“msg”]=>
string(22) “content can’t be null.”
[“code”]=>
int(-2)

content can’t be null. 이렇게도 해보고 저렇게 도 해보고 밤새면서… 변경해봤는데
content 값이 비었다고 나옵니다. ㅠㅜ 어떻게 해야할까요 전무가님의 조언이 필요합니다. ㅜㅠ

해결했어요 ^^ 감사합니다