Created
September 25, 2015 07:31
-
-
Save bullno1/96964bcccca3023402ec to your computer and use it in GitHub Desktop.
katt triple backtick
This file contains 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
# Registration | |
Short passwords will be rejected: | |
``` | |
PUT /users/bullno1 | |
> Content-Type: application/json | |
> Accept: application/json | |
{"password": "short"} | |
< 400 | |
{{_}} | |
``` | |
Registration can succeed with a longer password: | |
``` | |
PUT /users/bullno1 | |
> Content-Type: application/json | |
> Accept: application/json | |
{"password": "this is long enough"} | |
< 400 | |
{{_}} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment