Welcome Guest, Not a member yet? Register   Sign In
Adding REST API for our site

We are a code igniter 3.2 site and are looking to build a mobile app.

I have looked at the restserver framework on top of code igniter - https://github.com/chriskacerguis/codeig...restserver

What's not clear to me is how to integrate this such a way that our mobile app uses the restserver and the webapp uses the non rest version of the controller. 

Anyone done this? Pointers and examples would be welcome.

Hi, I really dont know what is your problem on setting up a rest controller, I think its not a problem by implementing your controller convention like if you visit url like http://domain.tld/rest/methods and set the header Content-type into applicatin/json then its ready to go
God Bless CI Contributors Smile

Do you have some source code about codeigniter api.?

Just a note there is no CodeIgniter version 3.2 yet
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Theme © iAndrew 2016 - Forum software by © MyBB