summaryrefslogtreecommitdiffstats
path: root/rest.http
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2021-12-12 23:22:13 +0100
committerjdlugosz963 <jdlugosz963@gmail.com>2021-12-12 23:22:13 +0100
commite7f4bd9cc60aa3ad230b31c3918df1f2043d6942 (patch)
tree17a99bdffed70ccd156cff935c0851276dc5a01f /rest.http
parentff53fd490b02536733f6618908760b9e3d52eeb3 (diff)
downloadlom_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.http12
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 @@
1POST http://localhost:8000/api/auth/login/
2content-type: application/json
3
4{
5 "username": "admin",
6 "password": "admin"
7}
8
9###
10
11GET http://localhost:8000/api/auth/info?username=a
12authorization: TOKEN 92844a78767178dfc15b0814373839bc80b97028f433440fcb4223088a9b8b69