You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.1 KiB

@localhost = http://localhost:8001
@testTall = https://test.tall.wiki/gateway/tall/v1.0
@localhostTall = http://localhost:7030/v1.0
@testFile = https://test.tall.wiki/filedeal
@testFile31 = http://192.168.31.13/filedeal
@type = content-type: application/json;charset=utf-8
@token = Authorization: Bearer {{login.response.body.$.data.token}}
###
# @name login
POST {{testTall}}/users/signin
{{type}}
{
"client": 1,
"type": 3,
"data": {
"identifier": "zy11",
"credential": "123456"
}
}
### id
POST {{testFile}}/file/query
{{type}}
[
1321760076465311744
]
###
POST {{testFile31}}/file/upload/multiple
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="files"; filename="111.png"
Content-Type: png
< C:\Users\dou\Desktop\29c3d35916816bab89a7902ee144b5d.png
------WebKitFormBoundary7MA4YWxkTrZu0gW--
###
GET {{testFile}}/file/download/1385069982416769024
{{type}}