Skip to content

Instantly share code, notes, and snippets.

@pushmon pushmon/node
Created Apr 2, 2014

Embed
What would you like to do?
Node
<#if filename>
node_.txt
<#elseif title>
Node
<#elseif logo>
//dmnv44fd3imdv.cloudfront.net/www.pushmon.com/img/code/java.gif
<#elseif code>
var request = require('request');
request('${urlstring}',
function(error, response, body) {
if (!error && response.statusCode == 200) {
console.log(body);
}
});
</#if>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.