Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: json return value

by Corion (Pope)
on Jul 11, 2013 at 08:38 UTC ( #1043655=note: print w/ replies, xml ) Need Help??

in reply to json return value

Have you looked at the status code and the content of your response?

my $res= $ua->request($req); print $res->is_success ? "yay\n" : "error\n"; print sprintf "Status %d\n", $res->code; print $res->decoded_content;

Maybe the module is correct and you don't actually get JSON back, but an error message that starts with Can't connect to myurl....

Comment on Re: json return value
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2016-02-10 20:59 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (354 votes), past polls