src/Curl/Curl.php
public function post($url, $data = array())
    {
        $this->setOpt(CURLOPT_URL, $url);
        $this->preparePayload($data);
        $this->exec();
        return $this;
    }
public function post($url, $data = array())
    {
        $this->setOpt(CURLOPT_URL, $url);
        $this->preparePayload($data);
        $this->exec();
        return $this;
    }
public function post ( $ url , $ data = array ( ) ) { $ this -> setOpt ( CURLOPT_URL , $ url ) ; $ this -> preparePayload ( $ data ) ; $ this -> exec ( ) ; return $ this ; }
Make a post request with optional post data.

@param string $url  The url to make the post request
@param array  $data Post data to pass to the url
@return self
Make a post request with optional post data .