docs(brunodocs): added more endpoint updates to bruno

This commit is contained in:
2025-03-01 15:19:01 -06:00
parent 379f7b836d
commit 0ddcfaeaa9
4 changed files with 34 additions and 9 deletions

View File

@@ -5,7 +5,7 @@ meta {
}
post {
url: http://localhost:4000/api/auth/login
url: http://localhost:4400/api/auth/login
body: json
auth: none
}

View File

@@ -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"
}
}

View 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
}