var url:string; xmlHttp:Olevariant; responseText:Widestring; begin url:='http://..............'; xmlHttp:=CreateOleObject('Msxml2.XMLHTTP'); xmlHttp.open('POST',url,false); xmlHttp.send(............); responseText:=xmlHttp.responseText; if xmlHttp.status='200' then .................... else .......................;
url:string;
xmlHttp:Olevariant;
responseText:Widestring;
begin
url:='http://..............';
xmlHttp:=CreateOleObject('Msxml2.XMLHTTP');
xmlHttp.open('POST',url,false);
xmlHttp.send(............);
responseText:=xmlHttp.responseText;
if xmlHttp.status='200' then
....................
else .......................;
我本来用INDY的IDHTTP,也可以读取到url内容,和这个xmlhttp用比哪个好?
xmlHttp.send(............);提示参数不正确????????