Initiate Supercomputer Computes with WebHooks

@ChrisMatthieu
computes
1 min readMar 31, 2016

--

We just added the ability to initiate computes.io supercomputer operations using webhooks! The process is fairly simple — as it should be.

We added a message API to computes.io that allows you to send messages into a computes.io kernel to initiate computes operations.

Here’s an example for finding the next prime number based on calling a webhook with input:

curl -X POST -d ‘{“client”: {“name”: “kernel”},”domain”: “YOUR-DOMAINKEY-FROM-COMPUTES.IO”,”message”:{“test”:123}}’ -H “kazi-token: YOUR-SECRET-TOKEN” -H “Content-Type: application/json” http://api.computes.io/jobs/message

Results:

{ job: 'computes:9040d810-f6f4-11e5-8406-fb03fe1ee00f',
result: '127' }

Here’s a video of our webhooks in action!

--

--

@ChrisMatthieu
computes

Builder of companies, robots, supercomputers, & motorcycles. @xrpanet & @twelephone CEO. Formerly @magicleap @computesio @citrix @octoblu @nodester @teleku