diff options
| author | ivar <i@oiee.no> | 2025-12-03 21:49:20 +0100 |
|---|---|---|
| committer | ivar <i@oiee.no> | 2025-12-03 21:49:20 +0100 |
| commit | cd70f54266d708867a1eb35870bc755bc5b2df32 (patch) | |
| tree | f0a8ec571ef3f345ac74293b4cb11918878b3ed5 /api/http/login.http | |
| parent | 5bd9ad8bd1740dcff179d66718532086304ca4c4 (diff) | |
| download | what-cd70f54266d708867a1eb35870bc755bc5b2df32.tar.xz what-cd70f54266d708867a1eb35870bc755bc5b2df32.zip | |
Refactor db
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" +} |
