init
This commit is contained in:
19
test.http
Normal file
19
test.http
Normal file
@@ -0,0 +1,19 @@
|
||||
@host=http://localhost:8088
|
||||
|
||||
@md5=959e5310105c96e653f10b74e5bdc36b
|
||||
@idx=0
|
||||
### upload chunk
|
||||
POST {{host}}/v1/uploads/{{md5}}/chunks/{{idx}} HTTP/1.1
|
||||
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
|
||||
|
||||
------WebKitFormBoundary7MA4YWxkTrZu0gW
|
||||
Content-Disposition: form-data; name="file"; filename="0"
|
||||
Content-Type: application/octet-stream
|
||||
|
||||
< ./fixtures/files/0
|
||||
------WebKitFormBoundary7MA4YWxkTrZu0gW--
|
||||
|
||||
|
||||
### get medias
|
||||
GET {{host}}/v1/medias HTTP/1.1
|
||||
Content-Type: application/json
|
||||
Reference in New Issue
Block a user