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

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.
Reply
#2

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
Reply
#3

Do you have some source code about codeigniter api.?
Reply
#4

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 )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB