IXMLHTTPRequest 问题
delphi通过IXMLHTTPRequest访问jsp网页,网页中需输入用户名及密码,才能进行其它操作,delphi程序如下,但达不到要求,服务器上总是提示用户名为空,请高人指点,谢谢
var
http: ixmlhttprequest;
begin
http := CreateOleObject('Microsoft.XMLHTTP') as IXMLHTTPRequest;
http.open('get', 'http://liujc/eGMAjax.do', false, 'd1', '1');
http.setRequestHeader('Content-type', 'text/html; charset=utf-8');
http.send('txcode=doChip&method=0&city=HK&race=1&horse1=1&horse2=1&win=100&place=100&playType=1');
ShowMessage(http.responsetext);
end;