diff --git a/app/Core/Http/Client.php b/app/Core/Http/Client.php index cc6c5b20d..b45a01d45 100644 --- a/app/Core/Http/Client.php +++ b/app/Core/Http/Client.php @@ -241,6 +241,10 @@ class Client extends Base if ('POST' === $method) { curl_setopt($curlSession, CURLOPT_POST, true); curl_setopt($curlSession, CURLOPT_POSTFIELDS, $content); + } elseif ('PUT' === $method) { + curl_setopt($curlSession, CURLOPT_CUSTOMREQUEST, 'PUT'); + curl_setopt($curlSession, CURLOPT_POST, true); + curl_setopt($curlSession, CURLOPT_POSTFIELDS, $content); } if (! empty($headers)) {