in reply to Re: Checkboxes with the same name
in thread Checkboxes with the same name
Thanks for your reply, it was certainly what I was looking for
However, I cant seem to get the right response. I used HTTP::Request::Form to print out the URL, with all the fields I knew I needed to fill, and used it as a guide.
I've replaced all '&' with '\n' here for easier reading for the encoded URL string from HTTP::Request::Form:
And the code I'm using to try and replicate this, except for the editions, where Im following your example, is:Func=Search Form=HomePage SID=QVgragrh%40WcAAB5MdZ8 topic=Enter+a+topic editions=H editions=H editions=H Period=Year+Range week_selection=LatestWeek years=2004 start_year=1955 end_year=2004 General+Search.x=2 General+Search.y=2
However, this is not producing the right response, and the HTTP::Request::Form method actually produced a better response, something is wrong with my attempt at using HTTP::Request::Common, but I dont know what it is that I'm doing wrong?$res = $ua->request(POST 'http://wos4.isiknowledge.com/CIW.cgi', [Func => 'Search', Form => 'HomePage', SID => $sid, topic => 'Enter+a+topic', editions => qw[(D A H)], Period => 'Year Range', week_selection => 'LatestWeek', years => 2004, start_year => 1955, end_year => 2004, 'General Search.x' => 2, 'General Search.y' => 2]);
Thanks for any help
Sam
</code>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Checkboxes with the same name
by ikegami (Patriarch) on Sep 27, 2004 at 16:09 UTC | |
by seaver (Pilgrim) on Sep 27, 2004 at 18:14 UTC |