From 9ddd3471b4222f0d2deceb25b46f609407397a20 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Thu, 17 Nov 2022 13:49:10 +0700 Subject: feat: Add request files for development --- code/api/src/Endpoints/Internal/Account/_calls.http | 9 +++++++++ .../Internal/PasswordResetRequests/_calls.http | 17 +++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 code/api/src/Endpoints/Internal/Account/_calls.http create mode 100644 code/api/src/Endpoints/Internal/PasswordResetRequests/_calls.http (limited to 'code/api/src/Endpoints') 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": "" +} -- cgit v1.3