Hi! I'm trying to call controller from javascript using the jquery load:
$.post("todb",{"name": in_name,"desc": in_desc, "location": in_loc}); 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?