diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-11-27 09:55:35 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-11-27 09:55:35 +0100 |
| commit | 4b8ba23644a7b6342f960c7b4593f060767d21ca (patch) | |
| tree | afc12445e4d82c56c8cfef571b72fa998b606490 /code/api/src/Endpoints | |
| parent | 804e984156230dac2f3c81f9fe0d52682245ee91 (diff) | |
| download | greatoffice-4b8ba23644a7b6342f960c7b4593f060767d21ca.tar.xz greatoffice-4b8ba23644a7b6342f960c7b4593f060767d21ca.zip | |
feat: Update sign-up page to new service api
Diffstat (limited to 'code/api/src/Endpoints')
| -rw-r--r-- | code/api/src/Endpoints/Internal/PasswordResetRequests/_calls.http | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/code/api/src/Endpoints/Internal/PasswordResetRequests/_calls.http b/code/api/src/Endpoints/Internal/PasswordResetRequests/_calls.http index c400f49..cfd2d58 100644 --- a/code/api/src/Endpoints/Internal/PasswordResetRequests/_calls.http +++ b/code/api/src/Endpoints/Internal/PasswordResetRequests/_calls.http @@ -7,11 +7,16 @@ Content-Type: application/json "email": "" } -### Create request -POST http://localhost:5000/_/password-reset-request/create +### Fulfill request +POST http://localhost:5000/_/password-reset-request/fulfill Accept: application/json Content-Type: application/json { - "email": "" + "id": "", + "newPassword": "" } + +### Is request valid +GET http://localhost:5000/_/password-reset-request/is-valid?id= +Accept: application/json |
