Programmatic Job Posting to NACC

June 20, 2012 VIEW ALL

One of the challenges in cloud computing for HPC tasks is creating, deploying, and managing applications as well as data movement for large scale computations. Using our API, you can integrate our cloud HPC processing services into your web applications or workflows.

Once your JSON API call has been created with the automated job builder, you can simply paste the resulting JSON into one of the following code snippets, replacing the {JSON} string.

Command Line (Bash Scripting)

curl -k -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{JSON}'


import urllib2

json = ‘{JSON}’
req = urllib2.Request(“”, headers = {“Content-Type”: “application/json”}, data = json)
f = urllib2.urlopen(req)



use Module::Load;
load LWP::UserAgent;

my $uri = ‘’;
my $json = ‘{JSON}’;
my $req = HTTP::Request->new( ‘POST’, $uri );
$req->header( ‘Content-Type’ => ‘application/json’ );
$req->content( $json );

my $lwp = LWP::UserAgent->new;
my $res = $lwp->request( $req );

if ($res->is_success) {
print $res->decoded_content;
else {
print STDERR $res->status_line, “n”;


Other Articles to Read

Contact us

How can we put the Nimbix Cloud to work for you?