mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-12 16:46:35 +00:00
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:
parent
adb98ef5e8
commit
bae13107d0
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user