diff --git a/server/src/routes/dataRoutes.ts b/server/src/routes/dataRoutes.ts
index 4102668401e29b2dfc48b40fa19b46573912a45e..ae85a8794d00d28cd68263edf3be25830fc6a7f6 100644
--- a/server/src/routes/dataRoutes.ts
+++ b/server/src/routes/dataRoutes.ts
@@ -15,6 +15,7 @@ export class dataRoutes {
     routes() {
         console.log("Data routes");
         this.router.get("/data", this.get); // get data
+        this.router.post('/pdata', this.post)
     }
 
     get(req: Request, res: Response) {
@@ -36,4 +37,10 @@ export class dataRoutes {
                 res.status(200).send(td); // respond with data in array
             });
     }
+
+    post(req: Request, res: Response) {
+        let body = req.body;
+        console.log(body);
+        res.status(200).send(body)
+    }
 }