From a0de6552d329f5388653aafb05b827536a1b00e9 Mon Sep 17 00:00:00 2001 From: Dev-Shankar-Paul <56624437+Dev-Shankar-Paul@users.noreply.github.com> Date: Wed, 16 Oct 2019 12:14:51 +0530 Subject: [PATCH] Update routes.py --- routes/routes.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/routes/routes.py b/routes/routes.py index 2374c2d..d169a51 100644 --- a/routes/routes.py +++ b/routes/routes.py @@ -3,10 +3,15 @@ router = Blueprint("router", __name__) @router.route("/check") -def check(): +def check(): # creating a UDF(User Defined Function) named check return "Congratulations! Your app works. :)" +# DSP made this change for a demo +@router.route("/hello") +def hello(): + return "Hacktoberfest is cool!" # prints "Hacktoberfest is cool" on the output screen + @router.route("/add", methods=["POST"]) def add(): # Add logic here - return \ No newline at end of file + return