$result=$ua->request(POST 'http:.... if ($result->is_success) { # Everything OK print $result->content; # send everything to the user } else { # There was an error in the CF script die "or do something equaly drastic"; }