diff options
author | Morten Linderud <morten@linderud.pw> | 2019-01-22 17:05:31 +0100 |
---|---|---|
committer | Morten Linderud <morten@linderud.pw> | 2019-01-22 17:08:39 +0100 |
commit | aa28da05ce5514e1336f105124cc63cd67c22511 (patch) | |
tree | 3d03c1ff55a833ec40180612ad8372a7f45b0cc8 /templating/templating.py | |
parent | 115fe3455e6c561723cf3ae0de1856a2dd661d8e (diff) |
Removed `PUT` from `POST` method
Although nice to have, this isn't compatible with the implementation
of the web service.
Diffstat (limited to 'templating/templating.py')
-rwxr-xr-x | templating/templating.py | 2 |
1 files changed, 1 insertions, 1 deletions
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("/<path>", methods=["POST", "PUT"]) +@app.route("/<path>", methods=["POST"]) def root_post(path): updateData() try: |