如何用NodeJS的bodyparser将Google的GWT请求体读入stringvariables?

我已经尝试了几乎所有可能的select从这个文档中的所有可能的方法: https : //github.com/expressjs/body-parser

我试图读取请求正文:

app.use(bodyParser.text()); app.use(bodyParser.json()); app.use(bodyParser.raw()); app.use(bodyParser.urlencoded({ extended: false })); 

我也试过一些选项,但每个版本都返回一个Object(我不能转换为String),而不是String。

是否有可能以某种方式读取这种请求types的正文?

 Content-Type: text/x-gwt-rpc; charset=UTF-8 

谢谢你的帮助!