Add logging
This commit is contained in:
parent
2a6153002c
commit
8814658142
11 changed files with 826 additions and 55 deletions
26
bruno/recipe-backend/changePassword.bru
Normal file
26
bruno/recipe-backend/changePassword.bru
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
meta {
|
||||
name: changePassword
|
||||
type: http
|
||||
seq: 11
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://localhost:4000/user/change-password
|
||||
body: json
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImE0NDdlNDM0LTQyMWYtNDJiYS04MGRlLTM0ZDE1YzJmNWE2YyIsImlhdCI6MTc2MzQ5MDcxMywiZXhwIjoxNzYzNTc3MTEzfQ.h8ta-4tVhR7EskZDBLtcFTQ7QllV-PfC09Y0DLjYJa4
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"userId": "9c913747-ba57-4b12-87d0-3339f4a8117c",
|
||||
"password": "test"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
19
bruno/recipe-backend/getAllUsers.bru
Normal file
19
bruno/recipe-backend/getAllUsers.bru
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
meta {
|
||||
name: getAllUsers
|
||||
type: http
|
||||
seq: 10
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://localhost:4000/user/all
|
||||
body: none
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImE0NDdlNDM0LTQyMWYtNDJiYS04MGRlLTM0ZDE1YzJmNWE2YyIsImlhdCI6MTc2MzMyMDEzMywiZXhwIjoxNzYzNDA2NTMzfQ.tguHEC4VFZJkbWjnI628VwuIB_p9odtBIPANcabH8q4
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue