|Subject:||Re: IdHttp.Post not working with stringlist ?|
|Posted by:||Tommi Prami (email@example.com)|
|Date:||Tue, 16 Oct 2007|
Responce := IdHTTP.Post(URL, XMlFile);
if there is TStrings acceptable overloaded version should work now, you
are passing string, not TStrings...
Marcel Horsthuis wrote:
> I try to send an XML file with the idHTTP.Post method as follows.
> if OpenDialog1.Execute then begin
> XMLFile := TStringList.Create;
> Responce := IdHTTP.Post(URL, XMlFile.Text);
> When I compile the program I get the error :
> "E2250 There is no overloaded version of 'Post' that can be called with
> these arguments"
> Even if I change the TStringList to TStrings I get the same error.
> Can anyboy help?
> I'm using Delphi 2007 (Update 2) and Indy 10.
> Thanks in advance.
IdHttp.Post not working with stringlist ? posted by Marcel Horsthuis on Tue, 16 Oct 2007