in msdn :https://msdn.microsoft.com/en-us/library/windows/desktop/aa384045(v=vs.85).aspx
it says:
I want to how how can i get the Return value (S_OK or error value )
here is my codes as follow:
Local $post_data = '123'
Local $post_url = 'http://127.0.0.1/test.php'
Local $oHTTP = ObjCreate("WinHttp.WinHttpRequest.5.1")
$oHTTP.Open("POST", $post_url, True)
Local $Return_Value = $oHTTP.Send($post_data)
$oHTTP.WaitForResponse(-1)
Local $res = $oHTTP.responsetext
MsgBox(0,'$Return_Value',$Return_Value);IT shows nothing ;why ? how can i get S_OK or error value ?