src/Client.php
public function sendPost( string $url, array $data = [], array $options = [] )
   {

      $options[ 'url' ]  = $this->_buildUrl( $url );
      $options[ 'post' ] = $data;

      return $this->_sendRequest( $options );

   }
public function sendPost( string $url, array $data = [], array $options = [] )
   {

      $options[ 'url' ]  = $this->_buildUrl( $url );
      $options[ 'post' ] = $data;

      return $this->_sendRequest( $options );

   }
public function sendPost ( string $ url , array $ data = [ ] , array $ options = [ ] ) { $ options [ 'url' ] = $ this -> _buildUrl ( $ url ) ; $ options [ 'post' ] = $ data ; return $ this -> _sendRequest ( $ options ) ; }
Executes a POST HTTP request.

If no external error handler is defined, on error here an ClientException is thrown

@param string $url     The request url.
@param array  $data    The POST data array.
@param array  $options Known options are: headers, referer, timeout, toFile, attemptsMax, attemptsDelay
@return string|boolean Returns a string on success, TRUE on successful file transfer or FALSE on error
Executes a POST HTTP request .