Post auch für zweiten api befehl eingesetzt.

This commit is contained in:
2024-12-19 14:05:25 +01:00
parent ff9d9b8909
commit 6c88777df5
2 changed files with 2 additions and 2 deletions

View File

@@ -325,7 +325,7 @@ class Ladestation_Universal extends IPSModule
}elseif($this->ReadPropertyInteger("Ladestation")==3){
$url = $baseUrl . "0";
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyString("Username") . ":" . $this->ReadPropertyString("Password"));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

View File

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