diff --git a/backend/requests/gamenights.sh b/backend/requests/gamenights.sh index 67d8213..930988d 100755 --- a/backend/requests/gamenights.sh +++ b/backend/requests/gamenights.sh @@ -1,3 +1,3 @@ echo $JWT -curl -X GET -H "Authorization: Bearer ${JWT}" localhost:8000/api/gamenights +curl -v -X GET -H "Authorization: Bearer ${JWT}" localhost:8000/api/gamenights diff --git a/backend/requests/login.sh b/backend/requests/login.sh index 525ef25..edf1b35 100755 --- a/backend/requests/login.sh +++ b/backend/requests/login.sh @@ -1 +1 @@ -curl -X POST -H "Content-Type: application/json" -d '{"username": "roflin", "password": "oreokoekje123"}' localhost:8000/api/login +curl -v -X POST -H "Content-Type: application/json" -d '{"username": "roflin", "password": "oreokoekje123"}' localhost:8000/api/login diff --git a/backend/requests/register.sh b/backend/requests/register.sh index 689bfbd..640cf0d 100755 --- a/backend/requests/register.sh +++ b/backend/requests/register.sh @@ -1 +1 @@ -curl -X POST -H "Content-Type: application/json" -d '{"username": "roflin", "email": "user@example.com", "password": "oreokoekje123", "password_repeat": "oreokoekje123"}' localhost:8000/api/register +curl -v -X POST -H "Content-Type: application/json" -d '{"username": "roflin", "email": "user@example.com", "password": "oreokoekje123", "password_repeat": "oreokoekje123"}' localhost:8000/api/register