Skip to content

Instantly share code, notes, and snippets.

@pagameba
Created November 25, 2010 18:04
Show Gist options
  • Save pagameba/715730 to your computer and use it in GitHub Desktop.
Save pagameba/715730 to your computer and use it in GitHub Desktop.
if (request.method == 'POST') {
var data = '';
request.on('data', function(d) { data += d; });
request.on('end', function() { console.log(data); });
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment