27 lines
483 B
YAML
27 lines
483 B
YAML
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
|