尝试从Sendy API获取活动订阅者计数时,我收到以下错误

POST请求如下所示:
http://my-sandy-Installation/api/subscribers/active-subscriber-count.php在标题中:Content-Type:application/x-www-form-urlencoded
正文部分:
api_key= mykey
list_id= mylistid有人能帮帮忙吗?
发布于 2020-02-24 20:19:20
$boolean = 'true';
$postdata = http_build_query(
array(
'email' => $email,
'api_key'=>'your api_key',
'list' => 'Your List id',
'boolean' => 'true'
)
);
$opts = array('http' => array('method' => 'POST', 'header' => 'Content-type: application/x-www-form-urlencoded', 'content' => $postdata));
$context = stream_context_create($opts);
$result = file_get_contents($your_installation_url.'/subscribe', false, $context);https://stackoverflow.com/questions/53931485
复制相似问题