Codeigniter RESTserver

Pendahuluan (Basic) : https://www.ibm.com/developerworks/webservices/library/ws-restful/

Lihat dulu: https://github.com/philsturgeon/codeigniter-restserver

Pengimplementasian REST ke dalam Codeigniter dengan satu Library, satu Config dan satu Controller

Drag and drop sebauh file application/libraries/Format.php and application/libraries/REST_Controller.php ke dalam folder aplikasi anda. . selain itu, pindahkan the rest.php ke dalam  application/config  folder konfigurasi anda.

Baca juga: https://ndesostyle.files.wordpress.com/2014/03/working-with-restful-services-in-codeigniter.docx

rest-api-architecturecontoh penggunaan Codeigniter RESTful server

rest1uji methode POST / GET dengan advanced REST client Plugin pada chrome browser

post

api1

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s