Update API tests

This commit is contained in:
xfarrow
2025-06-12 10:12:51 +02:00
parent 0733415397
commit fd10337d14
18 changed files with 9 additions and 9 deletions

View File

@ -0,0 +1,22 @@
meta {
name: RequestNewPassword
type: http
seq: 1
}
post {
url: http://localhost:3000/api/resetpassword/request
body: json
auth: none
}
headers {
Content-Type: application/json
User-Agent: insomnia/2023.5.8
}
body:json {
{
"email": "john@mail.org"
}
}

View File

@ -0,0 +1,23 @@
meta {
name: ResetNewPassword
type: http
seq: 2
}
post {
url: http://localhost:3000/api/resetpassword/reset
body: json
auth: none
}
headers {
Content-Type: application/json
User-Agent: insomnia/2023.5.8
}
body:json {
{
"secret": "360837853e2d3cf799c709b44720b4e3",
"password": "password"
}
}