diff --git a/php-binance-api.php b/php-binance-api.php index 35926396..ba169f8e 100644 --- a/php-binance-api.php +++ b/php-binance-api.php @@ -883,6 +883,12 @@ private function httpRequest(string $url, string $method = "GET", array $params if ($method === "DELETE") { curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method); } + + // PUT Method + if ($method === "PUT") { + curl_setopt($curl, CURLOPT_PUT, true); + } + // proxy settings if (is_array($this->proxyConf)) { curl_setopt($curl, CURLOPT_PROXY, $this->getProxyUriString());