cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl usage with https

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 3 May 2006 17:30:55 -0700

On Wed, May 03, 2006 at 05:17:01PM -0700, Ravi Malghan wrote:
> Dan: thanks for your input.
>
> When I point my browser to
> https://199.189.2.132/alerts/report/report-alert-99606.xml?attack_id=99606&output=xml,
> it brings up a page that asks for username/password,
> click the Submit button and the xml file shows up on
> my browser.

You need to find out where the form is submitted (to what URL) and what data
is stored in the form. That's the URL you need to request with curl (as a
POST operation, presumably) and you need to include whatever fields are
stored in the form, including username, password and any hidden fields that
can be revealed by looking at the HTML.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-05-04