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 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 retrieve rows from web2py? > > On Oct 30, 3:47 pm, Ialejandro <ialeja...@gmail.com> wrote: > > Hi! I'm building a simple (really) bank simulator for my class, I need > > to communicate my existing web2py app (just a CRUD) with a C > > application, what´s the best way to do that?? > > > > I mean, I need to have the same CRUD functionality in both sides, web > > (with web2py) and client (Ansi C, Unix/Linux/Mac), I'm using the > > default SQLITE integrated with web2py.