deleting and uploading files
This commit is contained in:
26
bruno/b2b-daniel/upload-file.yml
Normal file
26
bruno/b2b-daniel/upload-file.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
info:
|
||||
name: upload-file
|
||||
type: http
|
||||
seq: 23
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: http://localhost:3000/api/v1/restricted/storage/upload-file?path=folder/
|
||||
params:
|
||||
- name: path
|
||||
value: folder/
|
||||
type: query
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: document
|
||||
type: file
|
||||
value:
|
||||
- /home/daniel/coding/work/b2b/storage/folder1/test.txt
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
Reference in New Issue
Block a user