Re: Passing parameters with post

Giganews Newsgroups
Subject: Re: Passing parameters with post
Posted by:  Remy Lebeau \(Indy Team\) (re…@lebeausoftware.org)
Date: Wed, 25 Aug 2010

"Alexandre" <alexandrepires20…@yahoo.com.br> wrote in message
news:12EF132AF4BBE340alexandrepires20…@yahoo.com.br...

> Remy, I need put a LF (hex 0a, chr(10)) in the end of the post params.
>
> I'm doing this:
>
>    ts2:=tstringlist.Create;
>    ts2.Add('my_param=abc'+chr(10));
>    resultado:=pegar.Post('http://www.mysite.com.br/getparam.php',ts2);
>
> But is not working, the code hex 0a is not being passed. What is wrong ?

Which version of Indy are you using?  I cannot reproduce the problem with
the current Indy 10 snapshot.

--
Remy Lebeau (TeamB)

Replies

In response to

Passing parameters with post posted by Alexandre on Wed, 25 Aug 2010