From 4b8ba23644a7b6342f960c7b4593f060767d21ca Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sun, 27 Nov 2022 17:55:35 +0900 Subject: feat: Update sign-up page to new service api --- .../src/Endpoints/Internal/PasswordResetRequests/_calls.http | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'code/api') 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 -- cgit v1.3