in reply to http post error

$decoded is not $resluts which is not $results
my $resluts = $json->decode($resp->decoded_content()); my $fname = $decoded->{'firstname'};
500 just means the server you're talking to isn't written well, some kind of error occurred , nothing for you to guess about , its documentation reading time -- if server doesn't come with documentation contact support