From ecfec87bb82c43de3ab8e4ca0aa2418d0420b023 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Sun, 22 May 2022 12:46:27 -0600 Subject: [PATCH] added handling for other methods --- app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.py b/app.py index a843c44..d24def9 100644 --- a/app.py +++ b/app.py @@ -177,3 +177,5 @@ def find_similar_title(): deets["trakt_id"] = trakt_id results.append(deets) return render_template("same_titles.html", deets=results) + else: + return "Ayo! use GET or POST method only"