Last active
August 29, 2015 14:11
-
-
Save laser/118776276c987e8ff0cf to your computer and use it in GitHub Desktop.
Add validation
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 | |
| | |
| | |
+--> post-notes-handler: Hash Map | |
| | |
| | |
+--> validate-note: [Hash Map, Error String] (present? correct length?) | |
| | |
| | |
+--> ok: [Hash Map] (HTTP response, status code 200) | |
| | |
| | |
+--> wrap-json-response: JSON String | |
| | |
| | |
+--> application output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment