How to perform an external request in Kohana 3?
- by alex
I've always used cURL for this sort of stuff, but this article got me thinking I could request another page easily using the Request object in Kohana 3.
$url = 'http://www.example.com';
$update = Request::factory($url);
$update->method = 'POST';
$update->post = array(
'key' => 'value'
);
…