From aa28da05ce5514e1336f105124cc63cd67c22511 Mon Sep 17 00:00:00 2001 From: Morten Linderud Date: Tue, 22 Jan 2019 17:05:31 +0100 Subject: Removed `PUT` from `POST` method Although nice to have, this isn't compatible with the implementation of the web service. --- templating/templating.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templating/templating.py') diff --git a/templating/templating.py b/templating/templating.py index 03ad180..03b7dc9 100755 --- a/templating/templating.py +++ b/templating/templating.py @@ -62,7 +62,7 @@ def root_get(path): return body, 200 -@app.route("/", methods=["POST", "PUT"]) +@app.route("/", methods=["POST"]) def root_post(path): updateData() try: -- cgit v1.2.3