From 9357f7875b4ea44d321ed050d0ab769bfdba446b Mon Sep 17 00:00:00 2001 From: StevanFreeborn Date: Thu, 26 May 2022 20:24:35 -0500 Subject: [PATCH] begin working on routes --- routes/api.js | 5 +++++ views/index.html | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/routes/api.js b/routes/api.js index 92b98ea..5da2c05 100644 --- a/routes/api.js +++ b/routes/api.js @@ -14,5 +14,10 @@ module.exports = function (app) { app.route('/api/solve') .post((req, res) => { + const puzzleString = req.body.puzzle; + console.log(puzzleString); + + + }); }; \ No newline at end of file diff --git a/views/index.html b/views/index.html index 1368534..2411dcb 100644 --- a/views/index.html +++ b/views/index.html @@ -7,8 +7,6 @@ -