Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: curl request using LWP::UserAgent

by Corion (Pope)
on Oct 14, 2013 at 12:57 UTC ( #1058182=note: print w/replies, xml ) Need Help??

in reply to curl request using LWP::UserAgent

There are so many things that do not match between the curl call and your LWP::UserAgent code that this is hard to diagnose.

I recommend you first make the two identical. Things to check are:

  1. The attempt to add a Content-Type header is not even valid Perl
  2. URL that curl uses and the URL you use ($reqUri)
  3. Data that gets POSTed between curl and your code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1058182]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2016-10-22 07:31 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (292 votes). Check out past polls.