Skip to content

Instantly share code, notes, and snippets.

@bullno1
Created September 25, 2015 07:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bullno1/96964bcccca3023402ec to your computer and use it in GitHub Desktop.
Save bullno1/96964bcccca3023402ec to your computer and use it in GitHub Desktop.
katt triple backtick
# 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