Ok, thanks jasse,
I've done it for listSubscribe without any problems, but now I have
another issue.
I'm trying to use listBatchSubscribe and the array should be different
there. I'm doing it as shown on this page:
http://apidocs.mailchimp.com/gettingstarted/serialized_http_arrays.php
sending "
http://us2.api.mailchimp.com/1.3/?
output=json&method=listBatchSubscribe&apikey=XXXXXXXXXXXXXXX&id=XXXXXXXXX&double_optin=false&update_existing=true&batch[0]
[email]=
ma...@email.com&batch[0][email_type]=html&batch[1]
[email]=
ema...@email.com&batch[1][email_type]=html" but getting
{"add_count":0,"update_count":0,"error_count":2,"errors":[{"code":
502,"message":"Invalid Email Address: ","email":""},{"code":
502,"message":"Invalid Email Address: ","email":""}]} in response.
What am I doing wrong?
thanks,
Zakhar