Header bei der httpUtils nonBlocking Anweisung hinzugefügt
This commit is contained in:
parent
08ce247700
commit
260c37b4b0
@ -46,7 +46,7 @@ use JSON;
|
|||||||
|
|
||||||
use HttpUtils;
|
use HttpUtils;
|
||||||
|
|
||||||
my $version = "0.3.7";
|
my $version = "0.3.9";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -374,6 +374,7 @@ sub NUKIBridge_Call($$$$$) {
|
|||||||
hash => $hash,
|
hash => $hash,
|
||||||
chash => $chash,
|
chash => $chash,
|
||||||
endpoint => $path,
|
endpoint => $path,
|
||||||
|
header => "agent: FHEM/1.0\r\nUser-Agent: FHEM/1.0\r\nAccept: application/json",
|
||||||
method => "GET",
|
method => "GET",
|
||||||
doTrigger => 1,
|
doTrigger => 1,
|
||||||
noshutdown => 1,
|
noshutdown => 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user