Skip to content

Commit

Permalink
signature bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
freyhsiao committed Oct 22, 2019
1 parent afc0667 commit 4404e85
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Plugins/Traits/TencentCloudAuthV3.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ protected function request(array $args, $action, $service, $version, $timestamp
'X-TC-Timestamp' => $timestamp = $timestamp ?: time(),
'X-TC-Version' => $version,
'Authorization' => $this->getAuthorization($args, $timestamp, $service),
'Content-Type' => 'application/json',
],
'json' => $args,
'body' => \GuzzleHttp\json_encode(
$args, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE
),
]);

$contents = $response->getBody()->getContents();
Expand Down

0 comments on commit 4404e85

Please sign in to comment.