Nodejs Dump for codepipes running on codepipes/codepipes-nodejs
Last active
August 29, 2015 14:07
-
-
Save dtornow/8c8aacf2f280af65661b to your computer and use it in GitHub Desktop.
dump
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var parse = require("querystring").parse; | |
console.log(JSON.stringify({path: process.env.HTTP_PATH, body: process.env.HTTP_BODY, header: parse(process.env.HTTP_HEADER), method: process.env.HTTP_METHOD}, null, 4)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment