in reply to Possible Encrypted response using SSLeay
and note the difference. The form is correctly URL encoded, and Content-length has been adjusted accordingly.use HTTP::Request::Common qw(POST); $req = POST 'https://asite.com:443/adir/create_user.cgi', [ Content => "<User>John.Doe</User>" ]; print $req->as_string();
Note that once Crypt::SSLeay is installed, you don't need to use it explicitly. LWP will use it automagically when it sees 'https'. You can even leave :443 out of the URL, since it is implied by 'https'.
|
|---|