added bruno files and corrected found issues
This commit is contained in:
parent
7599080106
commit
c211a8a199
31 changed files with 292 additions and 14 deletions
15
bruno/Common Cents/Categories/LOC DELETE Category.bru
Normal file
15
bruno/Common Cents/Categories/LOC DELETE Category.bru
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
meta {
|
||||
name: LOC DELETE Category
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{localBaseUrl}}/{{resourcePath}}/{{resourceId}}
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
vars:pre-request {
|
||||
resourceId: cbf30070-9ff7-419f-a567-f7d145be445b
|
||||
}
|
||||
11
bruno/Common Cents/Categories/LOC GET Categories.bru
Normal file
11
bruno/Common Cents/Categories/LOC GET Categories.bru
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
meta {
|
||||
name: LOC GET Categories
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{localBaseUrl}}/{{resourcePath}}
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
15
bruno/Common Cents/Categories/LOC GET Category By ID.bru
Normal file
15
bruno/Common Cents/Categories/LOC GET Category By ID.bru
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
meta {
|
||||
name: LOC GET Category By ID
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{localBaseUrl}}/{{resourcePath}}/{{resourceId}}
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
vars:pre-request {
|
||||
resourceId: 1d6d2842-b271-489b-bd93-e3ceaee5a139
|
||||
}
|
||||
17
bruno/Common Cents/Categories/LOC POST Category.bru
Normal file
17
bruno/Common Cents/Categories/LOC POST Category.bru
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
meta {
|
||||
name: LOC POST Category
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{localBaseUrl}}/{{resourcePath}}
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "Category Three"
|
||||
}
|
||||
}
|
||||
18
bruno/Common Cents/Categories/LOC PUT Category.bru
Normal file
18
bruno/Common Cents/Categories/LOC PUT Category.bru
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
meta {
|
||||
name: LOC PUT Category
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
put {
|
||||
url: {{localBaseUrl}}/{{resourcePath}}
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"id": "1d6d2842-b271-489b-bd93-e3ceaee5a139",
|
||||
"name": "Merchant One"
|
||||
}
|
||||
}
|
||||
11
bruno/Common Cents/Categories/folder.bru
Normal file
11
bruno/Common Cents/Categories/folder.bru
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
meta {
|
||||
name: Categories
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
|
||||
vars:pre-request {
|
||||
resourcePath: categories
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue