How to send a http::get or http::post with a cookie?


#1

Hi,
a simple question :slight_smile: What options do I have to get a cookie from a
website and then sending http:get or post with this cookie?

greets


#2

On Sat, Apr 21, 2007 at 10:45:08PM +0900, mrpink wrote:

Hi,
a simple question :slight_smile: What options do I have to get a cookie from a
website and then sending http:get or post with this cookie?

Mechanize will let you make an http request and will automatically save
your cookies and send them on subsequent requests.

http://mechanize.rubyforge.org/


#3

Aaron P. wrote:

On Sat, Apr 21, 2007 at 10:45:08PM +0900, mrpink wrote:

Hi,
a simple question :slight_smile: What options do I have to get a cookie from a
website and then sending http:get or post with this cookie?

Mechanize will let you make an http request and will automatically save
your cookies and send them on subsequent requests.

http://mechanize.rubyforge.org/

thanks that looks great but is there any doc or good examples for
mechanize?