diff options
Diffstat (limited to 'api/http/login.http')
| -rw-r--r-- | api/http/login.http | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/api/http/login.http b/api/http/login.http new file mode 100644 index 0000000..8ebba0c --- /dev/null +++ b/api/http/login.http @@ -0,0 +1,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" +} |
