diff --git a/lib/Unirest/Unirest.php b/lib/Unirest/Unirest.php index ef3fbf2..f9e2e09 100644 --- a/lib/Unirest/Unirest.php +++ b/lib/Unirest/Unirest.php @@ -182,11 +182,6 @@ } Unirest::http_build_query_for_curl($body, $postBody); $url .= http_build_query($postBody); - - //foreach ($body as $parameter => $val) { - // $url .= $parameter . "=" . $val . "&"; - //} - //$url = substr($url, 0, strlen($url) - 1); } curl_setopt ($ch, CURLOPT_URL, Unirest::encodeUrl($url));