We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7928abd commit b6c180dCopy full SHA for b6c180d
2 files changed
examples/mailchimp.php
@@ -41,7 +41,7 @@
41
$token = $mailchimpService->requestAccessToken($_GET['code']);
42
43
// Send a request with it
44
- $result = $mailchimpService->request('/users/profile.json');
+ $result = $mailchimpService->request('/');
45
46
header('Content-Type: application/json');
47
echo $result; exit;
src/OAuth/OAuth2/Service/Mailchimp.php
@@ -106,7 +106,7 @@ protected function setBaseApiUri(StdOAuth2Token $token)
106
$meta = json_decode($response, true);
107
108
// Set base api uri.
109
- $this->baseApiUri = new Uri('https://'. $meta['dc'] .'.api.mailchimp.com/2.0/');
+ $this->baseApiUri = new Uri('https://'. $meta['dc'] .'.api.mailchimp.com/3.0/');
110
111
// Allow chaining.
112
return $this;
0 commit comments