We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b3bed5 commit 19e7398Copy full SHA for 19e7398
src/ConstantContact/Client.php
@@ -96,6 +96,7 @@ public function acquireAccessToken(array $parameters) : bool
96
}
97
$url = $this->oauth2URL . '?' . \http_build_query($params);
98
\curl_setopt($ch, CURLOPT_URL, $url);
99
+ \curl_setopt($ch, CURLOPT_POSTFIELDS, \json_encode(['client_id' => $this->clientAPIKey, 'client_secret' => $this->clientSecret, 'code' => $parameters['code']]));
100
101
$this->setAuthorization($ch);
102
0 commit comments