Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1058182]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2017-07-21 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (330 votes). Check out past polls.