aboutsummaryrefslogtreecommitdiffstats
path: root/code/api
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-11-27 09:55:35 +0100
committerivarlovlie <git@ivarlovlie.no>2022-11-27 09:55:35 +0100
commit4b8ba23644a7b6342f960c7b4593f060767d21ca (patch)
treeafc12445e4d82c56c8cfef571b72fa998b606490 /code/api
parent804e984156230dac2f3c81f9fe0d52682245ee91 (diff)
downloadgreatoffice-4b8ba23644a7b6342f960c7b4593f060767d21ca.tar.xz
greatoffice-4b8ba23644a7b6342f960c7b4593f060767d21ca.zip
feat: Update sign-up page to new service api
Diffstat (limited to 'code/api')
-rw-r--r--code/api/src/Endpoints/Internal/PasswordResetRequests/_calls.http11
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