wellit's not how HTTP works ^_^ . Parameters (vars in web2py) needs to
either be passed as url-encoded strings or multipart bodies, or json
bodies, and the correct content-type must be provided for POST requests.
Back to your problem. If you want request.vars.graph_data to hold a
dictionary
Thanks,
i guess I am not a tabble bit js fluent.
So I have to turn the dict to json, post it and use the @request.restful()
service and POST in the eco_report()?
Is there also a way to keep the graph_data as a global dict/list and use
it like that:?
def eco_report():
2 matches
Mail list logo