cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl command based on Live HTTP Headers

From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Sun, 15 Feb 2009 20:22:53 -0600

On Sun, Feb 15, 2009 at 5:27 PM, Jason Davidson <jad658_at_gmail.com> wrote:

> Daniel, thank you for your advice. I compared the two logs and I believe
> you are correct about the secSessionID not getting filled in. The problem
> is that each time curl connects to https://students.berkeley.edu/<https://students.berkeley.edu/myberkeley/myberkeleyapp.asp>the secSessionID changes and I don't know how to extract and use the current
> secSessionID in the post data. Any suggestions?

Look for formfind.pl here:

    http://curl.haxx.se/docs/programs.html

Use curl to download the homepage, then try:

   ./formfind.pl < homepage.html

You'll see all the form variables listed, along with the form action url.

Ralph Mitchell

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-02-16