first commit
This commit is contained in:
commit
ea35958607
19 changed files with 285 additions and 0 deletions
11
api/auth/email/request.bru
Normal file
11
api/auth/email/request.bru
Normal file
|
@ -0,0 +1,11 @@
|
|||
meta {
|
||||
name: request
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{base_url}}/api/auth/email/verify/request
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
15
api/auth/email/verify.bru
Normal file
15
api/auth/email/verify.bru
Normal file
|
@ -0,0 +1,15 @@
|
|||
meta {
|
||||
name: verify
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{base_url}}/api/auth/email/verify/:code
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:path {
|
||||
code: 0195979d-8cf0-7000-b178-58187510ac4e
|
||||
}
|
19
api/auth/login.bru
Executable file
19
api/auth/login.bru
Executable file
|
@ -0,0 +1,19 @@
|
|||
meta {
|
||||
name: login
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{base_url}}/api/auth/login
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"username": "creations",
|
||||
"email": "",
|
||||
"password": ""
|
||||
}
|
||||
}
|
11
api/auth/logout.bru
Executable file
11
api/auth/logout.bru
Executable file
|
@ -0,0 +1,11 @@
|
|||
meta {
|
||||
name: logout
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{base_url}}/api/auth/logout
|
||||
body: none
|
||||
auth: none
|
||||
}
|
21
api/auth/register.bru
Executable file
21
api/auth/register.bru
Executable file
|
@ -0,0 +1,21 @@
|
|||
meta {
|
||||
name: register
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{base_url}}/api/auth/register
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"username": "creations",
|
||||
"email": "",
|
||||
"password": "",
|
||||
"invite": "",
|
||||
"timezone": "America/New_York"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue