Do I use TIdMultiPartFormDataStream right?

Giganews Newsgroups
Subject: Do I use TIdMultiPartFormDataStream right?
Posted by:  geyao (gey…@broadsign.com.cn)
Date: Sat, 27 Sep 2003

Hi, please help me again.

Do I use TIdMultiPartFormDataStream right?

My code:

//===================================================

bStream:=TIdMultiPartFormDataStream.Create;
bStream.AddFormField('method','Topic');
....
bStream.Position:=0;
FAnswer:=Post(strURL+'SaveReAnnounce.asp',bstream);
//===================================================

But it show Error HTTP1.1/ 500

Replies