From 5ac7c54dff0f1c612e1381e8f4b38f3048b77abe Mon Sep 17 00:00:00 2001
From: V S Tharunika <1vstharu279@gmail.com>
Date: Sun, 27 Dec 2020 00:19:23 +0530
Subject: [PATCH] changed 'get' to 'post'

---
 server/src/app.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/src/app.js b/server/src/app.js
index 26a32d0b..b50f0b84 100644
--- a/server/src/app.js
+++ b/server/src/app.js
@@ -8,10 +8,10 @@ app.use(morgan('combined'))
 app.use(bodyParser.json())
 app.use(cors())
 
-app.get('/status',(req, res) =>{
+app.post('/register',(req, res) =>{
 
     res.send({
-        message: 'hello world!'
+        message: 'hello ${req.body.email} ! Your user was registered! Have fun!'
     })
 
 })
-- 
GitLab