Documentation
Curl
The curl helper.
Methods
get(string $url, [array $options = null])
Performs a curl GET request.
$res = Curl::get('http://site.com/');
post(string $url, [array $data = null, [boolean $multipart = false, array $options = null]]])
Performs a curl POST request.
$res = Curl::post('http://site.com/login');
getInfo([string $value = null])
Gets information about the last transfer.
$res = Curl::getInfo();