On Nov 26, 5:33 pm, b0j3 <[email protected]> wrote: > Hi! > > I'm trying to call controller from javascript using the jquery load: > > $.post("todb",{"name": in_name,"desc": in_desc, "location": in_loc});
this is not sending json. The values will be in request.name.is_name, etc. > > The problem is that I don't know how to get the json valu passed to > todb controller. > I've tried > @service.json decorator, > adding variable to the function definition and also > gluon.contrib.simplejson.loads(response.body.read()) > but I always get an error message. > > Do you guys have a recomendation or idea what to do?

