Hello,
I'm trying to input data into a web page and read the response page. This is
easy enough with the webbrowser class but I cant get it to work with the
webclient class. I've tried all the UploadValues, UploadData methods etc but
they all seem to just reload the input page. How do I get the response page?
Joerg Jooss - 09 Jul 2006 10:11 GMT
Thus wrote FutDev,
> Hello,
>
[quoted text clipped - 3 lines]
> UploadData methods etc but they all seem to just reload the input
> page. How do I get the response page?
The web site probably requires cookies or checks the User-Agent header, none
of which are present if you use a bare bones WebClient instance. Try adding
potentially required HTTP headers -- you can use a tool like Fiddler to analyze
the HTTP traffic.
Cheers,
--
Joerg Jooss
news-reply@joergjooss.de