Cyrus Adkisson wrote:
> 
> I'm trying to retrieve information from a website, but to get to the
> page I want, there is a form submission using the POST method. I've
> tried everything I know to do, including using a --header="POST /
> HTTP/1.0" parameter, but with all the errors I'm getting, I'm starting
> to come to the conclusing that wget is only capable of GET http
> requests. That would explain why it's called wget and not wpost, right?
> Am I correct in this assumption?
> 
As you already found out, wget can only do GET.

> If so, does anyone have any ideas how I might retrieve the webpage
> beyond the POST form? I'd really appreciate any help you might have for
> me.


You can try and use the GET method anyway. Many web-scripts don't really
care with method you use (or even cookies). But I suppose you already
have tried that 8-(

Next you can use your browser and make the POST request there. Save the
resulting page. And the use the `--force-html' and `--input-file'
options to retrieve all the resting pages.

If those pages also requires POST to access then you could consider
adding support for this method in wget 8-)

> 
> Cyrus

-- 
Med venlig hilsen / Kind regards

Hack Kampbjørn               [EMAIL PROTECTED]
HackLine                     +45 2031 7799

Reply via email to