docs(brunodocs): added more endpoint updates to bruno
This commit is contained in:
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://localhost:4000/api/auth/login
|
||||
url: http://localhost:4400/api/auth/login
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
@@ -5,15 +5,15 @@ meta {
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://localhost:3000/api/auth/register
|
||||
url: http://localhost:4400/api/auth/register
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"username": "adm_matthes01",
|
||||
"email":"blake@alpla.com",
|
||||
"password": "nova0511!"
|
||||
"username": "matthes01",
|
||||
"email":"blake.matthes@alpla.com",
|
||||
"password": "password"
|
||||
}
|
||||
}
|
||||
|
||||
15
apiDocs/lstV2/Auth/getUserroles.bru
Normal file
15
apiDocs/lstV2/Auth/getUserroles.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: getUserroles
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://localhost:4400/api/auth/getuseraccess
|
||||
body: json
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7InVzZXJfaWQiOiIyYzYzODQ3Zi1mMWVjLTRkNTAtOGFkMi05ODBkMWYzZTgwZWIiLCJ1c2VybmFtZSI6Im1hdHRoZXMwMSIsImVtYWlsIjoiYmxha2UubWF0dGhlc0BhbHBsYS5jb20iLCJyb2xlcyI6W10sInJvbGUiOiJ1c2VyIn0sImlhdCI6MTc0MDY3NTMyMiwiZXhwIjoxNzQwNjc4OTIyfQ.D4rLIBAZfo0larMGUmXF6Z2KVnZvRLvth2116JyK2z8
|
||||
}
|
||||
Reference in New Issue
Block a user