improve
This commit is contained in:
23
documentation/bruno-rest-api/LocalAPI/Create user.bru
Normal file
23
documentation/bruno-rest-api/LocalAPI/Create user.bru
Normal file
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: Create user
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{BASE_URL}}/users
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"firstName": "Paul",
|
||||
"lastName": "Test",
|
||||
"email": "paul@coral.ch"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
meta {
|
||||
name: asdf
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: localhost:5047
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
meta {
|
||||
name: hello
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{BASE_URL}}/hello
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
8
documentation/bruno-rest-api/LocalAPI/users/folder.bru
Normal file
8
documentation/bruno-rest-api/LocalAPI/users/folder.bru
Normal file
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: users
|
||||
seq: 3
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
Reference in New Issue
Block a user