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 adfb876 commit a524f0fCopy full SHA for a524f0f
src/Clients/GuzzleClient.php
@@ -14,7 +14,7 @@ public function __construct(\LKDev\HetznerCloud\HetznerAPIClient $client)
14
{
15
parent::__construct([
16
'base_uri' => $client->getBaseUrl(),
17
- 'headers' => ['Authorization' => 'Bearer '.$client->getApiToken()],
+ 'headers' => ['Authorization' => 'Bearer '.$client->getApiToken(), 'Content-Type' => 'application/json'],
18
]);
19
}
20
0 commit comments