Help for this page

Select Code to Download


  1. or download this
    malformed JSON string, neither tag, array, object, number, string or a
    +tom, at character offset 0 (before "Can't connect to ip...")
    
  2. or download this
    my $req = HTTP::Request->new(POST => 'http://ip:4000');
    $req->content_type('application/x-www-form-urlencoded');
    ...
    $respons = JSON::XS->new->decode ($res->content);
    $dat = $respons->{data};
    $adat1 = $respons->{name};