Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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


Comment on Re: curl request using LWP::UserAgent
Select or Download 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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2014-07-30 02:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (229 votes), past polls