visionmedia/express — Issue #930: Silly question - is this the right  place for these type questions
Author: alnoor
Created: 2011-12-10 23:34:11+00:00
State: open

when using express, do i need to add listeners to get at the text area data ( i have a form with text area defined)
I was under the impression that bodyParser will get the content I should be able to access from req.body (rawBody).
When using "non express" server, i use the following code and i got my data

var postData = "";
var pathname = url.parse(request.url).pathname;
console.log("Request for " + pathname + " received.");

request.setEncoding("utf8");

request.addListener("data", function(postDataChunk) {
postData += postDataChunk;
console.log("Received POST data chunk '"+
postDataChunk + "'.");
});

I have read up on formidable as well as parted but what i really want to get at is where the data is being put in the req header