Updated Grid
This commit is contained in:
23
bruno/auth/local/Change Password.bru
Normal file
23
bruno/auth/local/Change Password.bru
Normal file
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: Change Password
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
put {
|
||||
url: {{BASE_URL}}/auth/password
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"current_password": "test",
|
||||
"new_password": "test"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
16
bruno/auth/local/Get Self.bru
Normal file
16
bruno/auth/local/Get Self.bru
Normal file
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Get Self
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{BASE_URL}}/auth/user
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
23
bruno/auth/local/Login.bru
Normal file
23
bruno/auth/local/Login.bru
Normal file
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: Login
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{BASE_URL}}/auth/login
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"username": "admin",
|
||||
"password": "test"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
8
bruno/auth/local/folder.bru
Normal file
8
bruno/auth/local/folder.bru
Normal file
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: local
|
||||
seq: 2
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
Reference in New Issue
Block a user