I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2009-06-22 16:45:38-07 by jwing
https request failing
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
Direct Responses: Write a response