make it run
This commit is contained in:
parent
c17bb05f0a
commit
db480a88e0
7 changed files with 54 additions and 1 deletions
9
bruno/recipe-backend/bruno.json
Normal file
9
bruno/recipe-backend/bruno.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"version": "1",
|
||||
"name": "recipe-backend",
|
||||
"type": "collection",
|
||||
"ignore": [
|
||||
"node_modules",
|
||||
".git"
|
||||
]
|
||||
}
|
||||
25
bruno/recipe-backend/createUser.bru
Normal file
25
bruno/recipe-backend/createUser.bru
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
meta {
|
||||
name: createUser
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://localhost:4000/user
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"userData": {
|
||||
"userName": "test",
|
||||
"email": "test@raemer.net"
|
||||
},
|
||||
"password": "test"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
15
bruno/recipe-backend/login.bru
Normal file
15
bruno/recipe-backend/login.bru
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
meta {
|
||||
name: login
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://localhost:4000/login
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue