Welcome Guest, Not a member yet? Register   Sign In
Adapting a existing API using routing ?
#4

[eluser]Phil Sturgeon[/eluser]
1.) This is as close to default CI behaviour as possible, so you will need to enable query strings and uri segments the same as usual. They should both be accessible via $this->get() then, ?=something/val2 will override /something/val1 though so watch out.

2.) I figured this would be a "one-api - one server" sort of thing. Just use Routes if you are up to it.


Messages In This Thread
Adapting a existing API using routing ? - by El Forum - 06-23-2009, 09:31 PM
Adapting a existing API using routing ? - by El Forum - 06-24-2009, 05:43 AM
Adapting a existing API using routing ? - by El Forum - 06-24-2009, 06:28 AM
Adapting a existing API using routing ? - by El Forum - 06-24-2009, 06:33 AM
Adapting a existing API using routing ? - by El Forum - 06-24-2009, 07:01 AM
Adapting a existing API using routing ? - by El Forum - 06-24-2009, 07:56 AM
Adapting a existing API using routing ? - by El Forum - 06-25-2009, 03:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB