CodeIgniter Forums

Full Version: A Guide on Creating a Simple REST API in CodeIgniter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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/
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.
(07-31-2017, 06: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-134...#pid345697
https://forum.codeigniter.com/thread-654...#pid345039
https://forum.codeigniter.com/thread-655...#pid336889