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
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
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
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
4 matches
Mail list logo