$url = "https://api.github.com/repos/fuel/docs/issues"; $params = array(); // header params $options = array(); // curl options $response = \Request::forge( $url, array( 'driver' => 'curl', 'params' => $params, 'options' => $options), 'GET' // the method, GET, POST, etc. ); $response->execute();
$result = \Request::forge('http://api.example.org/get/some/data', 'curl');
It looks like you're new here. If you want to get involved, click one of these buttons!