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.
2 parents 83db112 + e85395b commit b7cf714Copy full SHA for b7cf714
lib/Api/Subscription.php
@@ -23,7 +23,8 @@ class Subscription extends Client
23
public function createSubscription($data)
24
{
25
$response = $this->client->request('POST', 'subscriptions', [
26
- 'json' => json_encode($data),
+ 'content-type' => 'application/json',
27
+ 'body' => json_encode($data),
28
]);
29
30
return $this->processResponse($response);
0 commit comments