forked from kompetenzinventar/ki-backend
add token auth
This commit is contained in:
@ -52,6 +52,13 @@ curl -s \
|
||||
http://localhost:5000/users/login | jq
|
||||
```
|
||||
|
||||
```
|
||||
curl -s \
|
||||
-D "/dev/stderr" \
|
||||
-H "Authorization: Bearer 22e6c5fc-8a5a-440e-b1f4-018deb9fd24e" \
|
||||
http://localhost:5000/users/1/profile
|
||||
```
|
||||
|
||||
### Produktionsumgebung
|
||||
|
||||
Für die Produktionsumgebung wird [waitress](https://docs.pylonsproject.org/projects/waitress/en/latest/) benutzt.
|
||||
|
Reference in New Issue
Block a user