library/HtmlMediaFinder/RemoteXpathAdapter.php
static function postRequest($url, array $post) {
		$handle = curl_init($url);
	
		curl_setopt_array($handle, [
		CURLOPT_POST => count($post),
		CURLOPT_POSTFIELDS => http_build_query($post),
		CURLOPT_RETURNTRANSFER => 1
		]);
	
		$result = curl_exec($handle);
		curl_close($handle);
	
		return $result;
	}
static function postRequest($url, array $post) {
		$handle = curl_init($url);
	
		curl_setopt_array($handle, [
		CURLOPT_POST => count($post),
		CURLOPT_POSTFIELDS => http_build_query($post),
		CURLOPT_RETURNTRANSFER => 1
		]);
	
		$result = curl_exec($handle);
		curl_close($handle);
	
		return $result;
	}
static function postRequest ( $ url , array $ post ) { $ handle = curl_init ( $ url ) ; curl_setopt_array ( $ handle , [ CURLOPT_POST => count ( $ post ) , CURLOPT_POSTFIELDS => http_build_query ( $ post ) , CURLOPT_RETURNTRANSFER => 1 ] ) ; $ result = curl_exec ( $ handle ) ; curl_close ( $ handle ) ; return $ result ; }
Get result string of post request
@param string $url
@param array $post
@return string
Get result string of post request