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