Welcome Guest, Not a member yet? Register   Sign In
how to implement very simple restful api using CI3
#1

How i can create some restful api using CI3? i have to use 3party add-ones or i can do it myself? or which add one is preferred for this?
ressan.ir
CI is nice Heart
Reply
#2

Most of the work in creating a RESTful API in CI3 is just building the controller(s) to handle your requests. To reinforce the API, you can use HTTP verbs in your routing configuration.
Reply
#3

(This post was last modified: 09-10-2015, 08:31 AM by nasser.man.)

thank you for response but i want to create a simple backbone app, backbone simply supports restful api (put,push,post,get) how i can know that request is put or push or get or post(in controller itself not in router.config)?!
ressan.ir
CI is nice Heart
Reply
#4

(09-09-2015, 09:46 PM)nasser.man Wrote: How i can create some restful api using CI3? i have to use 3party add-ones or i can do it myself? or which  add one is preferred for this?

Hi,

You can use the following library:

https://github.com/chriskacerguis/codeig...restserver

Is very easy and quickly to use.
Greetings.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB