add bruno collection
This commit is contained in:
parent
fb025fa4cc
commit
edf6e84a9a
15
casket-bruno-collection/Download File.bru
Normal file
15
casket-bruno-collection/Download File.bru
Normal file
@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Download File
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://localhost:3000/api/v1/user/test123/download?path=test/blub.txt
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:query {
|
||||
path: test/blub.txt
|
||||
}
|
||||
16
casket-bruno-collection/Get Files.bru
Normal file
16
casket-bruno-collection/Get Files.bru
Normal file
@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Get Files
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://localhost:3000/api/v1/user/test123/files?path=&nesting=5
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:query {
|
||||
path:
|
||||
nesting: 5
|
||||
}
|
||||
20
casket-bruno-collection/Upload File.bru
Normal file
20
casket-bruno-collection/Upload File.bru
Normal file
@ -0,0 +1,20 @@
|
||||
meta {
|
||||
name: Upload File
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://localhost:3000/api/v1/user/test123/files
|
||||
body: multipartForm
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:multipart-form {
|
||||
test/blub.txt: asdasd
|
||||
}
|
||||
|
||||
assert {
|
||||
res.status: eq 200
|
||||
res.body: isEmpty
|
||||
}
|
||||
9
casket-bruno-collection/bruno.json
Normal file
9
casket-bruno-collection/bruno.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"version": "1",
|
||||
"name": "casket",
|
||||
"type": "collection",
|
||||
"ignore": [
|
||||
"node_modules",
|
||||
".git"
|
||||
]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user