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

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

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/

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?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs