js1 has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I want to send the following headers in a POST from a perl script. Could anyone tell me how to do this in perl please?
My aim is to set up a link for users which posts this information for them when they click the link.
Thanks,
js1.
POST /ess/SignUpAsEmployee.aspx HTTP/1.1 Host: ltrbod-apdhz005 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Ge +cko/20051111 Firefox/1.5 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9 +,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://ltrbod-apdhz005/ess/SignUpAsEmployee.aspx Cookie: SSOCookie=Rsm04vXQBeQOi6o8aUarAGNgzKHCGxt2jVYcmOuleLX4dw5cIQVH +BkbxOmXX% ASP.NET_SessionId=lrtixumpwebrpheikmwni5i4; Content-Type: application/x-www-form-urlencoded Content-Length: 309 __VIEWSTATE=dDwxNTk4MDgzOTc1O3Q8O2w8aTwyPjs%2BO2w8dDw7bDxpPDE%2BOz47bD +x0PDtsPGk8Mz47aTw1Pjs%2BO2w8dDxwyLzEyLzIwMDUgMTU6MTc7Pj47Pjs7Pjs%2BPj +s%2BPjs%2BPjs%2BBfgZ5IQIMSNKJj7%2BLszqPx1I1Co%3D&txtEmployeeID=842111 +2&BtnSignUp=Sign+Up HTTP/1.x 200 OK Set-Cookie: SSOCookie=dnUwJ2FnRZtNcxpzA12uuPUAhRTCgjUXaX6iCsFK30bGyUn9 +22FlHbucatneD3HeT26Frz38e2keHTZ9Mh4YC0e9gI8kVJoG%2B%2Bvab58%2FHT5RU; +path=/; Date: Thu, 22 Dec 2005 15:18:22 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 1.1.4322 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 6679
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: link to post hidden fields
by Corion (Patriarch) on Dec 22, 2005 at 16:17 UTC | |
|
Re: link to post hidden fields
by blazar (Canon) on Dec 22, 2005 at 16:11 UTC | |
|
Re: link to post hidden fields
by tomfahle (Priest) on Dec 22, 2005 at 18:08 UTC | |
by js1 (Monk) on Dec 22, 2005 at 20:13 UTC | |
|
Re: link to post hidden fields
by planetscape (Chancellor) on Dec 23, 2005 at 02:09 UTC | |
by mdupont (Scribe) on Sep 19, 2009 at 10:53 UTC |