From b82754fb96c1bfea63b2da2ed57390e785b4a017 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Wed, 17 Apr 2019 22:57:14 -0500 Subject: Add functionality to add members. --- routes/api/members.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'routes/api') diff --git a/routes/api/members.js b/routes/api/members.js index 16989fb..7e3f6f8 100644 --- a/routes/api/members.js +++ b/routes/api/members.js @@ -18,4 +18,9 @@ router.get('/:id', (req, res) => { } }); +// Create Member +router.post('/', (req, res) => { + res.send(req.body); +}); + module.exports = router; -- cgit v1.2.3-54-g00ecf