Last active
June 10, 2016 00:53
-
-
Save b6t/2b1f4f369310daa52db1fdf6b3690bda to your computer and use it in GitHub Desktop.
Loader.io URL Verification for Restify
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
... | |
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