• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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 the CodeIgniter Community in 2009.          ( Skype: insitfx )

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

Users browsing this thread:
1 Guest(s)

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.