|
I'm trying to accomplish what the following curl does successfully:
curl --insecure -d 'au_pxytimetag=1&uname=XXXXX&pwd=YYYYYYY!&ok=OK' https://HHHHHHHHHHHHHHHHHHHHHHH
I've tried a number of different approaches for HTTP::Request. None have worked. Here is what my latest attempt was:
Use HTTP::Request::Common;
use LWP::UserAgent;
$ua = LWP::UserAgent->new;
$res = $ua->request( POST 'https://HHHHHHHHHHHHHHHHHHHHHHH',
[ ok => 'OK', uname => 'XXXXX', pwd => 'YYYYYYYY', au_pxytimetag => 1, ],
);
What is wrong?
TIA,
jwing |