cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Newbie help : logging into website with cookies

From: David Colter <dolan2go_at_yahoo.com>
Date: Sat, 11 Oct 2014 20:29:26 -0400

Al,

> if I try to script it, I fail. In essence when I try to script it I am removing the -H "Cookie:...." for -b

Won't the expected cookies need to be received by the server to continue with accepting your post?

You might turn on verbose output and ensure curl is managing the cookies for the script. The object is to get curl to 'mimic' browser headers.

David
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-10-12