Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 May : AddFormField
| Subject: | AddFormField |
| Posted by: | "Yassel Omar Izquierdo Souchay" (sioy_..@hotmail.com) |
| Date: | Mon, 23 May 2005 19:25:38 |
Hi, I'm having problems doing POST.
Actually, I have an application that I need to post severlal info.
When I do the next, nothing happend.
paramData := TIdMultiPartFormDataStream.Create;
paramData.AddFormField('wizardstate', 'CREATE_NEW');
paramData.AddFormField('carid', carid);
paramData.AddFormField('groupid', groupid);
paramData.AddFormField('countryid', 'es');
paramData.AddFormField('lang', 'es');
paramData.AddFormField('save', 'Save and Continue» »');
try
sHTML:=IdHTTP1.Post(TheUrlWithTheScript, ParamData);
except
ShowMessage(intToStr(IdHTTP1.Response.ResponseCode));
.
.
.
Somebody can help me
Thanks in adeventage
Yassel, from Argentina