From 6e7d6b23dbafdbdd9401db627c2aea5eb1a5db24 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Sun, 25 May 2025 20:59:58 -0600 Subject: [PATCH] switch from PUT to POST for metadata method --- ui/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app.py b/ui/app.py index 48bf7e7..6b0cccf 100755 --- a/ui/app.py +++ b/ui/app.py @@ -100,7 +100,7 @@ class App: @cherrypy.expose @cherrypy.tools.json_in() def metadata(self): - if cherrypy.request.method == 'PUT': + if cherrypy.request.method == 'POST': jsondata = cherrypy.request.json metadata_path = DATAPATH + "metadata.json" with open(metadata_path, 'w') as json_file: -- 2.47.2