diff options
Diffstat (limited to 'code/api/src/Endpoints/Internal')
| -rw-r--r-- | code/api/src/Endpoints/Internal/Account/_calls.http | 9 | ||||
| -rw-r--r-- | code/api/src/Endpoints/Internal/PasswordResetRequests/_calls.http | 17 |
2 files changed, 26 insertions, 0 deletions
diff --git a/code/api/src/Endpoints/Internal/Account/_calls.http b/code/api/src/Endpoints/Internal/Account/_calls.http new file mode 100644 index 0000000..78380f5 --- /dev/null +++ b/code/api/src/Endpoints/Internal/Account/_calls.http @@ -0,0 +1,9 @@ +### Login +POST http://localhost:5000/_/account/login +Content-Type: application/json + +{ + "username": "i@oiee.no", + "password": "ivar123", + "persist": false +} diff --git a/code/api/src/Endpoints/Internal/PasswordResetRequests/_calls.http b/code/api/src/Endpoints/Internal/PasswordResetRequests/_calls.http new file mode 100644 index 0000000..c400f49 --- /dev/null +++ b/code/api/src/Endpoints/Internal/PasswordResetRequests/_calls.http @@ -0,0 +1,17 @@ +### Create request +POST http://localhost:5000/_/password-reset-request/create +Accept: application/json +Content-Type: application/json + +{ + "email": "" +} + +### Create request +POST http://localhost:5000/_/password-reset-request/create +Accept: application/json +Content-Type: application/json + +{ + "email": "" +} |
