|Subject:||Re: How to create a pseudo browser?|
|Posted by:||Remy Lebeau (TeamB) (firstname.lastname@example.org)|
|Date:||Wed, 25 Feb 2004|
"Richard C Haven" <email@example.com> wrote in message
> How do I format the body so when I POST to the <form
> action... URL, the web server thinks I am a browser?
It has nothing to do with pretending to be a browser. Simply provide a
TStrings, TStream, or TIdMultiPartFormDataStream that contains the
"name=value" pairs from the <form> data when you call Post(), specifying the
URL from "method" attribute of the <form>.
> How can I handle cookies
Simply attach a TIdCookieManager to the TIdHTTP and it will handle that
> and other security issues?
How to create a pseudo browser? posted by Richard C Haven on Wed, 25 Feb 2004