[Newbies] Making requests to an HTML server

Göran Krampe goran at krampe.se
Thu Jan 7 10:13:48 UTC 2010


DUFOUR, Stephan (ext.) wrote:
> Hi,
> I have several Urls, each giving me a piece of information.
> I want to write some code that gathers these pieces of information and 
> make a display of the whole situation.
> The principle is: I send a request to one URL then parse the result and 
> make a new request to another URL using the parsed result.
> I need some code that somehow mimic a human behaviour: it should
>         1) go to a URL and get the content (easy part)
>         2) go to a URL and retrieve some session ID then make a more 
> elaborated request (POST, GET, or even trigger some Javascript)

I have written such a "robot" for a customer, and I need to update it in 
the coming days, I will see if I can publish the reusable part of it.

regards, Göran

More information about the Beginners mailing list