chore: Rename requests.
This commit is contained in:
parent
1770d408b3
commit
6cb426a2fc
10 changed files with 10 additions and 10 deletions
19
routes/NextNet API/Users/Create User.bru
Normal file
19
routes/NextNet API/Users/Create User.bru
Normal file
|
@ -0,0 +1,19 @@
|
|||
meta {
|
||||
name: Create
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://127.0.0.1:3000/api/v1/users/create
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "Greysoh Hofuh",
|
||||
"email": "greyson@hofers.cloud",
|
||||
"password": "hunter123"
|
||||
}
|
||||
}
|
18
routes/NextNet API/Users/Log In User.bru
Normal file
18
routes/NextNet API/Users/Log In User.bru
Normal file
|
@ -0,0 +1,18 @@
|
|||
meta {
|
||||
name: Log In
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://127.0.0.1:3000/api/v1/users/login
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"email": "me@greysoh.dev",
|
||||
"password": "password"
|
||||
}
|
||||
}
|
18
routes/NextNet API/Users/Lookup User.bru
Normal file
18
routes/NextNet API/Users/Lookup User.bru
Normal file
|
@ -0,0 +1,18 @@
|
|||
meta {
|
||||
name: Lookup
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://127.0.0.1:3000/api/v1/users/lookup
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"token": "5e2cb92a338a832d385790861312eb85d69f46f82317bfa984ac5e3517368ab5a827897b0f9775a9181b02fa3b9cffed7e59e5b3111d5bdc37f729156caf5f",
|
||||
"name": "Greyson Hofer"
|
||||
}
|
||||
}
|
18
routes/NextNet API/Users/Remove User.bru
Normal file
18
routes/NextNet API/Users/Remove User.bru
Normal file
|
@ -0,0 +1,18 @@
|
|||
meta {
|
||||
name: Remove
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://127.0.0.1:3000/api/v1/users/remove
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"token": "5e2cb92a338a832d385790861312eb85d69f46f82317bfa984ac5e3517368ab5a827897b0f9775a9181b02fa3b9cffed7e59e5b3111d5bdc37f729156caf5f",
|
||||
"uid": "2"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue