mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-09-01 21:27:06 +00:00
Fix response format
This commit is contained in:
@@ -20,7 +20,7 @@ if ($curl->response->total === 0) {
|
||||
$lists = $curl->response->data;
|
||||
$list = $lists['0'];
|
||||
|
||||
$curl->post(MAILCHIMP_BASE_URL . '/lists/subscribe.format', array(
|
||||
$curl->post(MAILCHIMP_BASE_URL . '/lists/subscribe.json', array(
|
||||
'apikey' => MAILCHIMP_API_KEY,
|
||||
'id' => $list->id,
|
||||
'email' => array(
|
||||
|
||||
Reference in New Issue
Block a user