So, if I have a function f(a, b), what TG work do I have to do expose
this function so that people can do gets like


http://example.com/f/a/1/b/2

Which would be a request that I execute f(a=1, b=2) and return the
results?

Do I just need to put **kwargs in my controllers.py definition for f?

Any links explaining how to use REST with TG would be very appreciated.

Matt


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to