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/profil2/app.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/web/profil2/app.js b/web/profil2/app.js
index 3ca91a1..b1b7b41 100644
--- a/web/profil2/app.js
+++ b/web/profil2/app.js
@@ -86,6 +86,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