From bc1d285f32e2c0048e0cbc9f9a849056d5e444fb Mon Sep 17 00:00:00 2001 From: ulrich Date: Mon, 18 May 2020 16:40:52 +0000 Subject: [PATCH] http post um passenden header ergaenzt --- web/ui2/js/app.js | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/web/ui2/js/app.js b/web/ui2/js/app.js index 55cdea5..a817006 100644 --- a/web/ui2/js/app.js +++ b/web/ui2/js/app.js @@ -353,6 +353,7 @@ if(method === 'GET') { xhr.send(); } else if(method === 'POST' || method === 'PUT') { + xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded'); xhr.send(data); } }; -- Gitblit v1.9.3