Skip to content

Commit

Permalink
[fixed] all method remote file_contents_get
Browse files Browse the repository at this point in the history
  • Loading branch information
virusphp committed Dec 31, 2021
1 parent 4414b54 commit 634e3fb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/vclaim/BridgingBpjs.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ public function postRequest($endpoint, $data)

public function putRequest($endpoint, $data)
{
$data = file_get_contents("php://input");
try {
$url = $this->setServiceApi() . $endpoint;
$response = $this->client->put($url, ['headers' => $this->setHeaders(), 'body' => $data]);
Expand All @@ -69,7 +68,6 @@ public function putRequest($endpoint, $data)

public function deleteRequest($endpoint, $data)
{
$data = file_get_contents("php://input");
try {
$url = $this->setServiceApi() . $endpoint;
$response = $this->client->put($url, ['headers' => $this->setHeaders(), 'body' => $data]);
Expand Down

0 comments on commit 634e3fb

Please sign in to comment.