I have a relatively large (50K) text file being POSTed:
curl -H "Content-Type:text/plain" -d @system.log http://localhost:8888/
Testing using a proxy, I can see the full contents of the file are being posted.
However Express.JS sees 100:Continue in the headers, and a blank body. I have :
app.use(express.bodyParser());
enabled, BTW. Here are the headers:
{ 'user-agent': 'curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5',
host: 'localhost:8888',
accept: '*/*',
'content-type': 'text/plain',
'content-length': '55909',
expect: '100-continue' }
req.body is empty:
{}
How can I see all the data being posted in Express.JS?