Adds some validation to new user registration.
This commit is contained in:
0
backend/requests/gamenights.sh
Normal file → Executable file
0
backend/requests/gamenights.sh
Normal file → Executable file
0
backend/requests/login.sh
Normal file → Executable file
0
backend/requests/login.sh
Normal file → Executable file
2
backend/requests/register.sh
Normal file → Executable file
2
backend/requests/register.sh
Normal file → Executable file
@@ -1 +1 @@
|
||||
curl -X POST -H "Content-Type: application/json" -d '{"username": "a", "email": "b", "password": "c", "password_repeat": "d"}' localhost:8000/api/register
|
||||
curl -X POST -H "Content-Type: application/json" -d '{"username": "roflin", "email": "user@example.com", "password": "oreokoekje123", "password_repeat": "oreokoekje123"}' localhost:8000/api/register
|
||||
|
||||
Reference in New Issue
Block a user