aboutsummaryrefslogtreecommitdiffstats
path: root/routes/api
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2019-04-17 22:57:14 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2019-04-17 22:57:14 -0500
commitb82754fb96c1bfea63b2da2ed57390e785b4a017 (patch)
treee64635479103b18147b8ffcbe7ea2394c7ca9858 /routes/api
parentcd0bd0520360d1a4166e988010952dc2e064ac42 (diff)
Add functionality to add members.
Diffstat (limited to 'routes/api')
-rw-r--r--routes/api/members.js5
1 files changed, 5 insertions, 0 deletions
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;