[web2py] Re: Communicating With C Application

2011-10-31 Thread Anthony
Have you seen this: http://web2py.com/book/default/chapter/09#RESTful-Web-Services (and the Services chapter in general: http://web2py.com/book/default/chapter/09)? On Sunday, October 30, 2011 5:52:29 PM UTC-4, Ialejandro wrote: > > I think the question is fuzzy... > > I know It can be done by

[web2py] Re: Communicating With C Application

2011-10-31 Thread Michael Ellis
I haven't tried this, but the first direction I'd consider would be to find a C library for parsing JSON and call the read methods with a .json extension. See the web2py book for more about getting json results from web2py controllers. Also, if the rules of your class permits it, you could consid

[web2py] Re: Communicating With C Application

2011-10-30 Thread Ialejandro
I think the question is fuzzy... I know It can be done by writing SQL queries from C... but I want to use web2py as intermediary, so for example, to insert a new client the C app just send a query like this: 127.0.0.1:8080/bank/remoteCalls/insertClient?name= but what's the best way to retri