Posting data in a WebBrowser.Navigate2 command

Hi,

Does anybody know how to post data in an HTTP request using the
TWebBrowser.Navigate or TWebBrowser.Navigate2 method?

The following code is what I am using, but no post data is picked up on the
IIS server:

procedure TForm1.Button1Click(Sender: TObject);
var
  URL : OleVariant;
  Flags, TargetFrameName, PostData, Headers : Olevariant;
  PostDataArray : Array of byte;
  Counter : integer;
begin
  try
    for Counter := 0 to Length(EditPostData.Text) do
    begin
      SetLength(PostDataArray, Counter + 1);
      PostDataArray[Counter] := Byte(EditPostData.text[Counter]);
    end;

    PostData := OleVariant(PostDataArray);
    URL := EditURL.Text;
    Flags := 30;
    TargetFrameName := null;
    Headers := Null;
    WebBrowser1.Navigate2(URL, Flags, TargetFrameName, PostData, Headers);
  finally
    PostDataArray := nil;
  end;
end;

Thanks in advance!

Eugene