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

[eluser]Mario Z.[/eluser]
Phil, thanks for the reply.
I looked at your REST server, it seems to be a very nice piece of code and I completely agree with you in the assumptions. REST is not a library !
I have two questions:
1-Can we use query strings AND URL segments together ?
Such as in
Quote:document/myid/properties?fmt=json&sign=xxxx&datefmt=dd-mm-yyyy&numfmt=coma&lang=ca
I couldn't find an example using them in your docs.
2-Using .htaccess is not (always) an option since sometimes we install our software in other web servers (IIS), not only Apache.
So I would prefer to do all the routing magic inside PHP.
Thanks again :-)
Mario


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