fhemweb.js: use POST in FW_cmd (Forum #21122)

git-svn-id: https://svn.fhem.de/fhem/trunk@6762 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2014-10-13 07:29:06 +00:00
parent 2f82768cb4
commit 3b0d0212b4

View File

@@ -28,7 +28,7 @@ FW_cmd(arg) /* see also FW_devState */
{
arg = addcsrf(arg);
var req = new XMLHttpRequest();
req.open("GET", arg, true);
req.open("POST", arg, true);
req.send(null);
req.onreadystatechange = function(){
if(req.readyState == 4)