Hi,
here are my first steps.
I tried to do this with WinHttp, seems to be the better sollution for this.
With WinHttp.au3:
Global $hOpen = _WinHttpOpen()
Global $hConnect = _WinHttpConnect($hOpen, "https://10.191.7.23")
;Global $hRequestSSL = _WinHttpSimpleSendSSLRequest($hConnect, "-u integrator:integrator --basic https://10.191.7.23:4001/v1.0/Configuration/RestartSystem -k -i -X", "PUT", "--data", "Value=True")
Global $hRequestSSL = _WinHttpSimpleSendRequest($hConnect, '-u integrator:integrator --basic https://10.191.7.23:4100/v1.0/Configuration/RestartSystem -k -i -X, "PUT", --data "Value=True"')
_WinHttpCloseHandle($hRequestSSL)
_WinHttpCloseHandle($hConnect)
_WinHttpCloseHandle($hOpen)
With the normal curl.exe
$Username = "integrator"
$Password = "integrator"
$Http = "https://10.191.7.23:4001/v1.0/Configuration/RestartSystem"
$Command = 'curl.exe -u ' & $Username & ":" & $Password & ' --basic -k -i -X PUT ' & $Http & ' --data "value=True" '
Glad to here from you guys..
Thank you verry much
Philipp