generated from tsivinsky/go-template
allow to upload images
but also files, hmmmm
This commit is contained in:
21
docs/api/images/upload new image.yml
Normal file
21
docs/api/images/upload new image.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
info:
|
||||
name: upload new image
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{base_url}}/api/images"
|
||||
body:
|
||||
type: file
|
||||
data:
|
||||
- filePath: /home/daniil/Pictures/glizzy.png
|
||||
contentType: image/png
|
||||
selected: true
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
Reference in New Issue
Block a user