Add bruno files
This commit is contained in:
23
Bruno/Endpoints/Posts/Upload file.bru
Normal file
23
Bruno/Endpoints/Posts/Upload file.bru
Normal file
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: Upload file
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
patch {
|
||||
url: {{baseUrl}}/api/posts/1/files/1
|
||||
body: file
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
headers {
|
||||
Content-Range: bytes 0-642260/642261
|
||||
}
|
||||
|
||||
body:file {
|
||||
file: @file(/home/dominykas/Desktop/icon.png) @contentType(image/png)
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Reference in New Issue
Block a user