How can I use Perl to send and HTTP request with a cookie?

Posted by dexter on Stack Overflow See other posts from Stack Overflow or by dexter
Published on 2010-03-19T06:22:19Z Indexed on 2010/03/19 7:21 UTC
Read the original article Hit count: 114

Filed under:

I am new to Perl and I want to write a Perl program that:

  • creates an HTTP request
  • sends it to any URL (e.g. http://www.google.com )
  • includes a cookie in the request
  • logs the http response codes in a file

(I am using Putty to connect with finesse server)

© Stack Overflow or respective owner

Related posts about perl