Nur Id im Header mitgeben

This commit is contained in:
belevo\mh
2024-10-16 13:57:25 +02:00
parent 2b6d632656
commit 8b08cabd01
2 changed files with 10 additions and 2 deletions

View File

@@ -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);

View File

@@ -6,7 +6,7 @@
"compatibility": {
"version": "7.1"
},
"version": "0.46",
"version": "0.47",
"build": 0,
"date": 0
}