App-Difio-dotCloud
view release on metacpan or search on metacpan
lib/App/Difio/dotCloud.pm view on Meta::CPAN
my $ua = new LWP::UserAgent(('agent' => "$NAME/$VERSION"));
# will URL Encode by default
my $response = $ua->post('https://difio-otb.rhcloud.com/application/register/', { json_data => $json_data});
if (! $response->is_success) {
die $response->status_line;
}
my $content = from_json($response->decoded_content);
print "Difio: $content->{'message'}\n";
exit $content->{'exit_code'};
1;
__END__
=head1 NAME
( run in 0.263 second using v1.01-cache-2.11-cpan-26ccb49234f )