src/net/Curl.php
public function post ($data)
		{
			$this->_options[ CURLOPT_POST ] = 1;
			$this->_options[ CURLOPT_POSTFIELDS ] = is_array($data) ? http_build_query($data) : $data;

			return $this->send();
		}
public function post ($data)
		{
			$this->_options[ CURLOPT_POST ] = 1;
			$this->_options[ CURLOPT_POSTFIELDS ] = is_array($data) ? http_build_query($data) : $data;

			return $this->send();
		}
public function post ( $ data ) { $ this -> _options [ CURLOPT_POST ] = 1 ; $ this -> _options [ CURLOPT_POSTFIELDS ] = is_array ( $ data ) ? http_build_query ( $ data ) : $ data ; return $ this -> send ( ) ; }
Sends POST request.

@param array|string $data Additional data to append to request.
@return string|CurlResponse
Sends POST request .