in reply to Re: Post with parameters using hash
in thread Post with parameters using hash

Is there a way to do it using hash? I can't use your method because one of the formvalue contains & and = which would cause another error.

And I can't just do this because I have to build a form parameters using a for loop.
$request = POST "http://www.server.com", Content => [ $formname1 => ' +formvalue1', $formname2 => 'formvalue2' ];
I have to build the parameters first using hash and do something like this. But this doesn't seem to be working.
$request = POST "http://www.server.com", Content => [ %hiddenhash ];