Re: [web2py] help with jsonrpc

2014-03-03 Thread Dave S
On Saturday, March 1, 2014 4:34:42 PM UTC-8, Trevor Overman wrote: > > Finally got things working. For anyone out there reading this, I fixed the > problem by utilizing urlfetch in GAE. > Works with curl, or works with your Android app? In either case, thanks for the update! /dps > @servic

Re: [web2py] help with jsonrpc

2014-03-01 Thread Trevor Overman
Finally got things working. For anyone out there reading this, I fixed the problem by utilizing urlfetch in GAE. @service.jsonrpc def test_add(a,b): number_sum = a+b db.testing.insert(number_sum=number_sum) return a+b def test(): from gluon.contrib.simplejsonrpc import ServerProx

Re: [web2py] help with jsonrpc

2014-03-01 Thread Jonathan Lundell
On 1 Mar 2014, at 11:46 AM, Trevor Overman wrote: > So I'm trying to connect an android application to my web2py website back end > database by using json remote procedure calls. > Currently, I am trying to make a simple test function to remotely add entries > in the db. > Additionally, I am run

[web2py] help with jsonrpc

2014-03-01 Thread Trevor Overman
So I'm trying to connect an android application to my web2py website back end database by using json remote procedure calls. Currently, I am trying to make a simple test function to remotely add entries in the db. Additionally, I am running on GAE. What I have right now is: db.py db.define_tabl