We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3504956 + db4940b commit 1aeba3eCopy full SHA for 1aeba3e
1 file changed
src/Client.php
@@ -71,6 +71,7 @@ public static function factory($config = array())
71
$client = new self($restUrl, $config);
72
$client->addSubscriber($auth);
73
$client->setDescription(ServiceDescription::factory(__DIR__ . '/service.json'));
74
+ $client->setDefaultOption('headers/Content-Type', 'application/json');
75
76
return $client;
77
}
0 commit comments