D
David Joseph Bonnici
Hi I was experimenting with perl, on the POST method. I am using
LWP::UserAgent
$response = $browser->post( $url,
[ 'first name' => 'John',
'last name' => 'Doe',
'lastandfirst' => 'John Doe',
] );
If I post, the data is sent something like this
"&first+name=John&last+name=Doe&lastandfirst=John+Doe"
I would like the post to be something enocoded like so (dont ask me why!)
&first%20name=John&last%20name=Doe&lastandfirst=John&20Doe
How do I do it (or what parameter do I need to modify).
This is sending me crazy.
David
LWP::UserAgent
$response = $browser->post( $url,
[ 'first name' => 'John',
'last name' => 'Doe',
'lastandfirst' => 'John Doe',
] );
If I post, the data is sent something like this
"&first+name=John&last+name=Doe&lastandfirst=John+Doe"
I would like the post to be something enocoded like so (dont ask me why!)
&first%20name=John&last%20name=Doe&lastandfirst=John&20Doe
How do I do it (or what parameter do I need to modify).
This is sending me crazy.
David