From: Bdale Garbee Date: Mon, 26 May 2025 02:59:58 +0000 (-0600) Subject: switch from PUT to POST for metadata method X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=6e7d6b23dbafdbdd9401db627c2aea5eb1a5db24;p=fw%2Fquantimotor switch from PUT to POST for metadata method --- 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: