From e7f4bd9cc60aa3ad230b31c3918df1f2043d6942 Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Sun, 12 Dec 2021 23:22:13 +0100 Subject: add grups views and modify info auth view --- rest.http | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 rest.http (limited to 'rest.http') diff --git a/rest.http b/rest.http new file mode 100644 index 0000000..b0c6198 --- /dev/null +++ b/rest.http @@ -0,0 +1,12 @@ +POST http://localhost:8000/api/auth/login/ +content-type: application/json + +{ + "username": "admin", + "password": "admin" +} + +### + +GET http://localhost:8000/api/auth/info?username=a +authorization: TOKEN 92844a78767178dfc15b0814373839bc80b97028f433440fcb4223088a9b8b69 -- cgit v1.2.3