This commit is contained in:
rogeecn
2025-03-22 16:39:52 +08:00
commit 306491168c
127 changed files with 17865 additions and 0 deletions

19
test.http Normal file
View 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