Skip to content

Commit cdf9e78

Browse files
committed
Merge branch 'master' of github.com-php-curl-class:php-curl-class/php-curl-class
* 'master' of github.com-php-curl-class:php-curl-class/php-curl-class: Fix response format
2 parents 93cefac + 3105045 commit cdf9e78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/mailchimp_subscribe_email_address.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
$lists = $curl->response->data;
2121
$list = $lists['0'];
2222

23-
$curl->post(MAILCHIMP_BASE_URL . '/lists/subscribe.format', array(
23+
$curl->post(MAILCHIMP_BASE_URL . '/lists/subscribe.json', array(
2424
'apikey' => MAILCHIMP_API_KEY,
2525
'id' => $list->id,
2626
'email' => array(

0 commit comments

Comments
 (0)