diff --git a/Belevo_Server_Kommunikation/module.php b/Belevo_Server_Kommunikation/module.php index d9c7564..74bf29a 100644 --- a/Belevo_Server_Kommunikation/module.php +++ b/Belevo_Server_Kommunikation/module.php @@ -152,7 +152,7 @@ return $json; */ - +/* $options = [ 'http' => [ 'header' => "Content-Type: application/json\r\n". @@ -162,6 +162,14 @@ return $json; ], ]; +*/ + $options = [ + 'http' => [ + 'header' => "id: test\r\n", + 'method' => 'POST', + + ], + ]; IPS_LogMessage("Belevo_Server_Kommunikation", "Options: " . print_r($options, true)); $context = stream_context_create($options); diff --git a/library.json b/library.json index a75a6b6..327c23c 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.46", + "version": "0.47", "build": 0, "date": 0 } \ No newline at end of file