Can someone nudge me in the right direction for this? My web/newsgroup
searches didn't.
-Johnnie
/A.
"Johnnie Norsworthy" <jln...@charter.net> wrote in message
news:3d4b005f$1_1@dnews...
Now I have a good idea of the actual data being sent during a post. There's
quite a bit to decipher, but I'm getting closer.
For example: From the WebBrows program I determine:
Content-Type: Content-Type: application/x-www-form-urlencoded
and
PostData=sql=%28FIELD2+Like+%27A%25%27+%29&FIELD1=&FIELD2=A&FIELD3=&FIELD4=&
FIELD5=&FIELD6=
(ignore line wrap)
How should this data be fed to the Indy HTTP Client and posted? I'm sure I
need to translate something in the postdata. I am using the HTTP CLient
Demo to test my tries.
Also, since I expect to return a large amount of data, should I stream
directly to disk?
If, in the web form the "submit" is in the form:
<FORM name=Form action=search/search1.asp method=post> ...
should the URL I use be the relative one presented in the action= field?
I know after I get one of these "posts" working the rest are going to drop
like dominos.
Thanks for any help,
Johnnie
Allen O'Neill wrote:
:: If you use Indy, play with the TidHTTPClient - what you want to do is
Source := TMemoryStream.Create;
try
Source.LoadFromFile(edPostFile.Text);
HTTP.Post(cbURL.Text, Source, Response);
finally
Source.Free;
HTH.
/A.
"Johnnie Norsworthy" <jln...@charter.net> wrote in message
news:3d4b5060$1_2@dnews...