summaryrefslogtreecommitdiffstats
path: root/api/http/login.http
blob: 8ebba0cf89b2b19e8d643b432353f3cb75139f1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
### GET request to example server
POST {{canonical}}/login

{
    "username": "",
    "password": ""
}

### Create user
POST {{canonical}}/create-user
Content-Type: application/json

{
    "name": "ivarsu",
    "email": "ivarsu@oiee.no",
    "password": "ivargangertre"
}