Skip to content

Instantly share code, notes, and snippets.

@drobiazko
Created May 1, 2012 12:15
Show Gist options
  • Save drobiazko/2567640 to your computer and use it in GitHub Desktop.
Save drobiazko/2567640 to your computer and use it in GitHub Desktop.
Simple Request-Response
{
"nodes": [
{
"title": "HTTP Request",
"icon": "images/icons/http_64.png",
"top": 107,
"left": 189,
"compID": "http",
"uri": "/users/:id",
"method": "get",
"id": "step_129"
},
{
"title": "Code",
"icon": "images/icons/code_64.png",
"top": 126,
"left": 374,
"compID": "code",
"code": "next(null, { message : \"Hello world!\" });",
"id": "step_131"
},
{
"title": "Log",
"icon": "images/icons/log_64.png",
"top": 118,
"left": 565,
"compID": "log",
"level": "debug",
"id": "step_138"
},
{
"title": "HTTP Response",
"icon": "images/icons/http_64.png",
"top": 126,
"left": 779,
"compID": "http_response",
"id": "step_140"
}
],
"connections": [
{
"from": "step_129",
"to": "step_131"
},
{
"from": "step_131",
"to": "step_138"
},
{
"from": "step_138",
"to": "step_140"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment