【发布时间】:2015-01-22 13:43:56
【问题描述】:
我在 android 中使用 Node.js express 和 httpAsyncClient 库。
我正在发送请求以表达使用 Post 包含参数。
请求确实有效。 但我无法在 Post 中获取参数
我用这个“var id = req.body.id;”
我认为 httpAsyncClient 参数类型是表单数据。 但 express 是句柄 x-www-form-urlencoded。
我该怎么办?
【问题讨论】:
标签: javascript node.js express multipartform-data form-data