D
DaymonX
Гость
Помогите разобраться!?!
Код:
$pass = GUICtrlCreateInput("Пароль", 8, 32, 121, 21)
Func logout()
$Host = "блабла"
$File = "/тоже тут правильно:)"
$URL = "http://" & $Host & $File
$PostData = "name=%D0%90%D0%BD%D1%82%D0%BE%D1%85%D1%80%D0%B0%D0%BF&password="&$pass&
$oHTTP = ObjCreate("WinHttp.WinHttpRequest.5.1")
$oHTTP.Open("POST", $URL)
$oHTTP.SetRequestHeader("Content-Type","application/x-www-form-urlencoded")
$oHTTP.Send($PostData)
$oHTTP.WaitForResponse
$Response = $oHTTP.ResponseText
EndFunc