diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2021-12-12 23:22:13 +0100 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2021-12-12 23:22:13 +0100 |
commit | e7f4bd9cc60aa3ad230b31c3918df1f2043d6942 (patch) | |
tree | 17a99bdffed70ccd156cff935c0851276dc5a01f /rest.http | |
parent | ff53fd490b02536733f6618908760b9e3d52eeb3 (diff) | |
download | lom_api-e7f4bd9cc60aa3ad230b31c3918df1f2043d6942.tar.gz lom_api-e7f4bd9cc60aa3ad230b31c3918df1f2043d6942.zip |
add grups views and modify info auth view
Diffstat (limited to 'rest.http')
-rw-r--r-- | rest.http | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/rest.http b/rest.http new file mode 100644 index 0000000..b0c6198 --- /dev/null +++ b/rest.http | |||
@@ -0,0 +1,12 @@ | |||
1 | POST http://localhost:8000/api/auth/login/ | ||
2 | content-type: application/json | ||
3 | |||
4 | { | ||
5 | "username": "admin", | ||
6 | "password": "admin" | ||
7 | } | ||
8 | |||
9 | ### | ||
10 | |||
11 | GET http://localhost:8000/api/auth/info?username=a | ||
12 | authorization: TOKEN 92844a78767178dfc15b0814373839bc80b97028f433440fcb4223088a9b8b69 | ||