implement update profile endpoint

This commit is contained in:
2021-06-20 20:13:19 +02:00
parent 5c21e4c9b6
commit ace51851de
4 changed files with 68 additions and 3 deletions

View File

@ -74,6 +74,16 @@ curl -s \
http://localhost:5000/users/login | jq
```
```
curl -s \
-D "/dev/stderr" \
-X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer 22e6c5fc-8a5a-440e-b1f4-018deb9fd24e" \
-d '{"pronouns": "Herr Dr. Dr."}' \
http://localhost:5000/users/1/profile | jq
```
```
curl -s \
-D "/dev/stderr" \