Skip to content

Instantly share code, notes, and snippets.

@b6t
Last active June 10, 2016 00:53
Show Gist options
  • Save b6t/2b1f4f369310daa52db1fdf6b3690bda to your computer and use it in GitHub Desktop.
Save b6t/2b1f4f369310daa52db1fdf6b3690bda to your computer and use it in GitHub Desktop.
Loader.io URL Verification for Restify
...
api.get({path: '/[YOUR-PATH]'}, function(req,res,next){
var code = fs.readFileSync('./[YOUR-PATH].txt');
res.write(code.toString().trim());
res.end();
});
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment