summaryrefslogtreecommitdiffstats
path: root/rest.http
blob: b0c6198f82a407d603ae525fd2389d6ebf9ac61e (plain)
1
2
3
4
5
6
7
8
9
10
11
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