forked from Roflin/gamenight
Make test scripts verbose about HTTP codes and headers
This commit is contained in:
parent
52647759cc
commit
73c9ad61a7
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user