diff --git a/bruno/Highlight/Catalog (sample)/Add.bru b/bruno/Highlight/Catalog (sample)/Add.bru new file mode 100644 index 0000000..23416be --- /dev/null +++ b/bruno/Highlight/Catalog (sample)/Add.bru @@ -0,0 +1,23 @@ +meta { + name: Add + type: http + seq: 1 +} + +post { + url: http://localhost:11000/api/highlight/:module/:alder + body: json + auth: inherit +} + +params:path { + module: catalog + alder: add +} + +body:json { + { + "item":1, + "category":1 + } +} diff --git a/bruno/Highlight/Catalog (sample)/Remove.bru b/bruno/Highlight/Catalog (sample)/Remove.bru new file mode 100644 index 0000000..1efdfea --- /dev/null +++ b/bruno/Highlight/Catalog (sample)/Remove.bru @@ -0,0 +1,23 @@ +meta { + name: Remove + type: http + seq: 2 +} + +post { + url: http://localhost:11000/api/highlight/:module/:alder + body: json + auth: inherit +} + +params:path { + module: catalog + alder: remove +} + +body:json { + { + "item":1, + "category":1 + } +} diff --git a/bruno/Highlight/Category/Add.bru b/bruno/Highlight/Category/Add.bru new file mode 100644 index 0000000..a355560 --- /dev/null +++ b/bruno/Highlight/Category/Add.bru @@ -0,0 +1,24 @@ +meta { + name: Add + type: http + seq: 1 +} + +post { + url: http://localhost:11000/api/highlight/category/:alder + body: json + auth: inherit +} + +params:path { + alder: add +} + +body:json { + { + "title":"For your starter", + "desc":null, + "background":null, + "illustration":null + } +} diff --git a/bruno/Highlight/Category/Detail.bru b/bruno/Highlight/Category/Detail.bru new file mode 100644 index 0000000..c72b6a7 --- /dev/null +++ b/bruno/Highlight/Category/Detail.bru @@ -0,0 +1,19 @@ +meta { + name: Detail + type: http + seq: 3 +} + +post { + url: http://localhost:11000/api/highlight/category/:alder + body: json + auth: inherit +} + +params:path { + alder: detail +} + +body:json { + {"id":1} +} diff --git a/bruno/Highlight/Category/Edit.bru b/bruno/Highlight/Category/Edit.bru new file mode 100644 index 0000000..2a07641 --- /dev/null +++ b/bruno/Highlight/Category/Edit.bru @@ -0,0 +1,25 @@ +meta { + name: Edit + type: http + seq: 4 +} + +post { + url: http://localhost:11000/api/highlight/category/:alder + body: json + auth: inherit +} + +params:path { + alder: edit +} + +body:json { + { + "id":1, + "title":"For your starter (Edit)", + "desc":null, + "background":null, + "illustration":null + } +} diff --git a/bruno/Highlight/Category/List.bru b/bruno/Highlight/Category/List.bru new file mode 100644 index 0000000..70c95ba --- /dev/null +++ b/bruno/Highlight/Category/List.bru @@ -0,0 +1,19 @@ +meta { + name: List + type: http + seq: 2 +} + +post { + url: http://localhost:11000/api/highlight/category/:alder + body: json + auth: inherit +} + +params:path { + alder: list +} + +body:json { + {} +} diff --git a/bruno/Highlight/Category/Remove.bru b/bruno/Highlight/Category/Remove.bru new file mode 100644 index 0000000..abd9ce9 --- /dev/null +++ b/bruno/Highlight/Category/Remove.bru @@ -0,0 +1,19 @@ +meta { + name: Remove + type: http + seq: 5 +} + +post { + url: http://localhost:11000/api/highlight/category/:alder + body: json + auth: inherit +} + +params:path { + alder: remove +} + +body:json { + {"id":1} +}