From 35cad92387a7e85d694634e38adaacb01de825c9 Mon Sep 17 00:00:00 2001 From: jali-clarke Date: Sat, 16 Jan 2021 15:46:54 +0000 Subject: [PATCH] change heartbeat api verb to GET --- auth_proxy/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth_proxy/__main__.py b/auth_proxy/__main__.py index 02523b6..340c851 100644 --- a/auth_proxy/__main__.py +++ b/auth_proxy/__main__.py @@ -112,7 +112,7 @@ def root(): return "Welcome to the Foundations authentication proxy" -@app.route("/heartbeat", methods=["POST"]) +@app.route("/heartbeat", methods=["GET"]) def heartbeat(): return "Alive"