- node 0.10.x
- npm 1.3.x
npm install
.nodemon web.js
You can import subroutine.io examples into Postman: http://www.getpostman.com/
- Get the subroutine.io Postman config.
- Import and check out the examples.
-
Request:
POST api.subroutine.io
-
POST Body:
(function() { var message = ["hello", "world", "!!!"]; return message.join(" "); })();
-
Response:
{ key: "RhBMiz7iKekh" }
-
Request:
GET api.subroutine.io/RhBMiz7iKekh
-
Response:
{ run_count: 15, last_run: "2013-08-26T02:13:01.376Z", result: "hello world !!!" }