Last active
August 29, 2015 14:11
-
-
Save laser/f99796f5edf833d3c9be to your computer and use it in GitHub Desktop.
Add Ring JSON middleware
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
application input: HttpInput (HTTP request body) | |
| | |
| | |
+--> wrap-json-body: Hash Map (deserialized from JSON) | |
| | |
| | |
+--> post-notes-handler: Hash Map (returns what it's been passed) | |
| | |
| | |
+--> response: Hash Map (a shell HTTP response) | |
| | |
| | |
+--> wrap-json-response: JSON String (serialized from Hash Map) | |
| | |
| | |
+--> application output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment