CodeIgniter Forums
A Guide on Creating a Simple REST API in CodeIgniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7)
+--- Forum: Learn More (https://forum.codeigniter.com/forumdisplay.php?fid=15)
+--- Thread: A Guide on Creating a Simple REST API in CodeIgniter (/showthread.php?tid=68581)



A Guide on Creating a Simple REST API in CodeIgniter - olivedev - 07-31-2017

My friend published this guide on creating a REST API in CodeIgniter. Here is the process he followed:
  • Installation of Codeigniter framework
  • Database and table(s) creation
  • Setup libraries and permissions
  • Setup authentication and API key(s)
  • Setup HTTP calls (GET, PUT, POST, DELETE)
  • Test the HTTP calls.
You can create your own Rest API using this guide: https://www.cloudways.com/blog/rest-api-in-codeigniter/


RE: A Guide on Creating a Simple REST API in CodeIgniter - skunkbad - 07-31-2017

There are a couple of things that bug me about that rest server class, and I'm surprised nobody else has came up with something better and made it freely available. I have to wonder what the (CI|PHP|dev) experience level is for anyone who would create a tutorial and not come up with their own code.


RE: A Guide on Creating a Simple REST API in CodeIgniter - Paradinight - 07-31-2017

(07-31-2017, 05:01 AM)olivedev Wrote: My friend published this guide on creating a REST API in CodeIgniter. Here is the process he followed:
  • Installation of Codeigniter framework
  • Database and table(s) creation
  • Setup libraries and permissions
  • Setup authentication and API key(s)
  • Setup HTTP calls (GET, PUT, POST, DELETE)
  • Test the HTTP calls.
You can create your own Rest API using this guide: xxx

seo spam -.-

https://forum.codeigniter.com/thread-1348-post-345697.html#pid345697
https://forum.codeigniter.com/thread-65451-post-345039.html#pid345039
https://forum.codeigniter.com/thread-65515-post-336889.html#pid336889