【发布时间】:2011-09-06 20:54:11
【问题描述】:
如何在 CherryPy 中从 GET 请求中读取参数?我从 JQuery 生成请求,例如
$.get(
"http://localhost:8080/temp",
"{a:10}",
function(data) { alert(data); },
"html"
);
我有 @cherrypy.expose 函数 index(self) 的类 temp。如何从 GET 请求中提取数据?
【问题讨论】: