Skip to content

Commit

Permalink
fix put http request.
Browse files Browse the repository at this point in the history
  • Loading branch information
iMactool committed Aug 31, 2022
1 parent b0bd355 commit d78035e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/BaseService.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public function putJson($endpoint, $params = [], $headers = [])
$headers = $this->generateCloudHeader($headers);
}
$options = [
'form_params'=> $params,
'body' => json_encode($params),
'headers' => $headers
];
return $this->httpClient()->request('PUT',$endpoint,$options);
Expand Down

0 comments on commit d78035e

Please sign in to comment.