Re: Is any definition necessary to use IndyTiburon in Delphi2005?

Giganews Newsgroups
Subject: Re: Is any definition necessary to use IndyTiburon in Delphi2005?
Posted by:  ryuzinmaru (nospam@)
Date: Wed, 21 Oct 2009

var
  ASource : TIdMultiPartFormDataStream;
  AStream : TMemoryStream;
  URL : string;
begin
  URL := 'http://...';
  ASource := TIdMultiPartFormDataStream.Create;
  try
    ASource.AddFormField('para1','value1');
    AStream := TMemoryStream.Create;
    try
      IdHTTP1.Post(URL,ASource, AStream);
      //
    finally
      AStream.Free;
    end;
  finally
    ASource.Free;
  end;
end;

Replies

None

In response to

Is any definition necessary to use IndyTiburon in Delphi2005? posted by nospam@ on Wed, 21 Oct 2009