diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-01-15 10:49:47 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-01-15 10:49:47 +0100 |
commit | a6174bafcfac58d2f6bc3537870d3a3e3b76cc8f (patch) | |
tree | 80edfb621fd65f70be332302b15e50331a1f43e2 /api/tests.sh | |
parent | edcbbb61b8f6278404955d6758d4c1129f8dbc8a (diff) |
heb gedeeltelijk user/info geïmplementeerd
Diffstat (limited to 'api/tests.sh')
-rwxr-xr-x | api/tests.sh | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/api/tests.sh b/api/tests.sh index 6608611..002f85f 100755 --- a/api/tests.sh +++ b/api/tests.sh @@ -35,6 +35,15 @@ login_email () { localhost:5000/api/auth/login } +user_info () { + curl -X GET \ + -H "Content-Type: application/json" \ + -d '{ + "username": "loekaars" + }' \ + localhost:5000/api/user/info +} + # login_token () { # curl -X POST \ # -H "Content-Type: application/json" \ @@ -45,7 +54,5 @@ login_email () { # localhost:5000/api/auth/token # } -signup -login_email -login_username +user_info |