Nur Id im Header mitgeben
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"compatibility": {
|
||||
"version": "7.1"
|
||||
},
|
||||
"version": "0.46",
|
||||
"version": "0.47",
|
||||
"build": 0,
|
||||
"date": 0
|
||||
}
|
||||
Reference in New Issue
Block a user