in reply to Adding cookies into headers of LWP request
Hi,
Looking at the documentation (quick look as you're in a hurry) the follwoing code should be enough:
$dl_res = $ua->request( GET $Url, Cookie => 'ASP.NET_SessionId=xaduwqpg5ocnenpb0l0xsq4d; GMProfileInf +o=e=fis-mort-dev@banana.com', content=> [ %$asp_state ] );
assuming that you just ask how to incorporate the Cookie header.
Regards
McA
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Adding cookies into headers of LWP request
by Loops (Curate) on Sep 25, 2014 at 15:45 UTC |