actuallymentor / MailChimp-API-v3.0-PHP-cURL-example

This is a Mailchimp API 3 example using PHP and cURL. I made this for a client, took a while because their documentation is horrible, though maybe they improved it by the time you read this.
52 stars 33 forks source link

Bad url for API #1

Open sergiocasao opened 8 years ago

sergiocasao commented 8 years ago

Hello! Thanks for your apport!

While i was debugging the code. I get notice that there is missing a dot between the server and api in the CURLOPT_URL in every method you call.

I believe it must be.

https://'.$server.'.api.mailchimp.com/3.0/lists/'.$list_id.'/members/

Greetings!

actuallymentor commented 8 years ago

Thanks for your edit :). Could you make a PR for it?

kostylo commented 7 years ago

nice example

binaryflow commented 7 years ago

This issue appears to be fixed in the master branch. We can probably close this issue. Thanks!