Last active
February 22, 2020 11:54
-
-
Save cpv123/989b65c67a5a8025ab8e27baec59a8c6 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
app.post('/getData', (req, res) => { | |
res.send(generateData(User)); | |
}); | |
app.post('/getFlyWeightData', (req, res) => { | |
res.send({ data: generateData(FlyWeightUser), EXTRA_STATIC_DATA }) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment