Passing parameters with post

Giganews Newsgroups
Subject: Passing parameters with post
Posted by:  Alexandre (alexandrepires20…@yahoo.com.br)
Date: Wed, 25 Aug 2010

Remy, I need put a LF (hex 0a, chr(10)) in the end of the post params.

I'm doing this:

    ts2:=3Dtstringlist.Create;
    ts2.Add('my_param=3Dabc'+chr(10));
  resultado:=3Dpegar.Post('http://www.mysite.com.br/getparam.php',ts2);

But is not working, the code hex 0a is not being passed. What is wrong ?

Thanks
Alexandre
Brazil

Replies