restclient Port of CodeIgniter REST client and CURL library

  1. Usage
  2. Resources

Most of the code is from Phil Sturgeon CodeIgniter.

Usage

Just extract the 2 files into ext.components.

cURL Component example

$curl = new CURL();
$html = $curl->simple_get('http://www.google.com/');

RESTClient example

$rest = new RESTClient();
$rest->initialize(array('server' => 'http://twitter.com/'));
$tweet = $rest->get('statuses/user_timeline/'.$username.'.xml');

Resources

Original Libraries:

6 0
18 followers
2 154 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Networking
Developed by: dinhtrung
Created on: Jun 22, 2011
Last updated: 7 years ago

Downloads

show all

Related Extensions