From 634e3fb61a4a6f17aa2c813010c96d0ebe3a097d Mon Sep 17 00:00:00 2001 From: virusphp Date: Fri, 31 Dec 2021 12:51:52 +0700 Subject: [PATCH] [fixed] all method remote file_contents_get --- src/vclaim/BridgingBpjs.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/vclaim/BridgingBpjs.php b/src/vclaim/BridgingBpjs.php index 4800bf3..113bb4b 100644 --- a/src/vclaim/BridgingBpjs.php +++ b/src/vclaim/BridgingBpjs.php @@ -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]); @@ -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]);