Model/Apiconnector/Rest.php
private function executePost($ch)
    {
        if (!is_string($this->requestBody)) {
            $this->buildPostBody();
        }

        curl_setopt($ch, CURLOPT_POSTFIELDS, $this->requestBody);
        curl_setopt($ch, CURLOPT_POST, true);

        $this->doExecute($ch);
    }
private function executePost($ch)
    {
        if (!is_string($this->requestBody)) {
            $this->buildPostBody();
        }

        curl_setopt($ch, CURLOPT_POSTFIELDS, $this->requestBody);
        curl_setopt($ch, CURLOPT_POST, true);

        $this->doExecute($ch);
    }
private function executePost ( $ ch ) { if ( ! is_string ( $ this -> requestBody ) ) { $ this -> buildPostBody ( ) ; } curl_setopt ( $ ch , CURLOPT_POSTFIELDS , $ this -> requestBody ) ; curl_setopt ( $ ch , CURLOPT_POST , true ) ; $ this -> doExecute ( $ ch ) ; }
Execute post request.

@param mixed $ch

@return null
Execute post request .