This commit is contained in:
Dita Aji Pratama 2025-01-20 17:58:22 +07:00
parent 7b294192e9
commit abb184e0e1
3 changed files with 40 additions and 0 deletions

20
bruno/Auth/Register.bru Normal file
View File

@ -0,0 +1,20 @@
meta {
name: Register
type: http
seq: 1
}
post {
url: http://localhost:11000/api/auth/registration/register/su
body: json
auth: none
}
body:json {
{
"captcha":"test",
"username":"su",
"email":"user@domain.com",
"password":"su"
}
}

15
bruno/Auth/Resend.bru Normal file
View File

@ -0,0 +1,15 @@
meta {
name: Resend
type: http
seq: 2
}
get {
url: http://localhost:11000/api/auth/registration/resend?email=user@domain.com
body: none
auth: none
}
params:query {
email: user@domain.com
}

5
bruno/bruno.json Normal file
View File

@ -0,0 +1,5 @@
{
"version": "1",
"name": "authsquare",
"type": "collection"
}