Created
March 14, 2018 23:10
-
-
Save antklim/1123ed7af20e1a08aa70682adfe6a8fe to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// simple API | |
app.use('/healthcheck', require('express-healthcheck')()) | |
app.use('/echo', (req, res) => { | |
res.send({message: `Hello ${req.query.name}`}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment