diff --git a/php-binance-api.php b/php-binance-api.php index 4608c231..893607c9 100755 --- a/php-binance-api.php +++ b/php-binance-api.php @@ -905,7 +905,7 @@ private function httpRequest(string $url, string $method = "GET", array $params // Post and postfields if ($method === "POST") { curl_setopt($curl, CURLOPT_POST, true); - curl_setopt($curlch, CURLOPT_POSTFIELDS, $query); + curl_setopt($curl, CURLOPT_POSTFIELDS, $query); } // Delete Method if ($method === "DELETE") {