【发布时间】:2016-03-06 19:06:01
【问题描述】:
在我的咖啡脚本前端,我尝试将值列表传递给后端
data = {
id: [2, 3, 4]
}
$.post url, data
在 Google 应用引擎 (python) 后端的处理程序中,我读取的值如下:
id_value = self.request.get('id')
LOG.info("%s", id_value)
它总是只打印出“2”。
如何让后端获取列表[2,3,4]?
【问题讨论】:
标签: google-app-engine coffeescript webapp2