Skip to content

Instantly share code, notes, and snippets.

@jaw187
Created January 9, 2012 21:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaw187/1584919 to your computer and use it in GitHub Desktop.
Save jaw187/1584919 to your computer and use it in GitHub Desktop.
function serverCallback(req,res) {
var body = '';
req.on('data',function (chunk) {
body += chunk;
});
req.on('end',function () {
//DO SOMETHING
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment