Nur Id im Header mitgeben
This commit is contained in:
@@ -152,7 +152,7 @@ return $json;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
$options = [
|
$options = [
|
||||||
'http' => [
|
'http' => [
|
||||||
'header' => "Content-Type: application/json\r\n".
|
'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));
|
IPS_LogMessage("Belevo_Server_Kommunikation", "Options: " . print_r($options, true));
|
||||||
$context = stream_context_create($options);
|
$context = stream_context_create($options);
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"version": "7.1"
|
"version": "7.1"
|
||||||
},
|
},
|
||||||
"version": "0.46",
|
"version": "0.47",
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user