CodeIgniter Forums
help on Phil Sturgeon's RESTful API - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: help on Phil Sturgeon's RESTful API (/showthread.php?tid=22323)



help on Phil Sturgeon's RESTful API - El Forum - 09-05-2009

[eluser]ebot[/eluser]
I tried adding Phil Sturgeon RESTful api to my application by putting the rest.php in the config, folder, REST_controller.php in the application/library, and tried the example, but i got this error message: Your rest.php file does not appear to contain a valid configuration array., i will appreciate any help from you people on how to get it running well on codeigniter application,
thanks
Evans Ebot


help on Phil Sturgeon's RESTful API - El Forum - 09-14-2009

[eluser]Phil Sturgeon[/eluser]
You missed the rest.php config file. That config file lets you enable/disable HTTP authentication and change the name of the "Realm".

Sorry I missed this, you could have PMed me. ;-)