Browse Source

测试文件系统

master
zy_Java 5 years ago
parent
commit
2c7af227a6
  1. 40
      文件管理/file/file.http

40
文件管理/file/file.http

@ -0,0 +1,40 @@
@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
@type = content-type: application/json;charset=utf-8
@token = Authorization: Bearer {{login.response.body.$.data.token}}
### 登录
# @name login
POST {{localhostTall}}/users/signin
{{type}}
{
"client": 1,
"type": 3,
"data": {
"identifier": "zy11",
"credential": "123456"
}
}
### debug
GET {{localhostTall}}/debug/htt
# GET {{testFile}}/debug/htt
{{type}}
[
1321760076465311744
]
### 根据id查询文件信息
POST {{testFile}}/file/query
{{type}}
[
1321760076465311744
]
Loading…
Cancel
Save