-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.http
More file actions
48 lines (48 loc) · 1.28 KB
/
test.http
File metadata and controls
48 lines (48 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"version": 1,
"name": "系统测试",
"variables": {
"baseUrl": "http://localhost:5000"
},
"requests": [
{
"id": "get-node-status",
"name": "获取节点状态",
"method": "GET",
"url": "{{baseUrl}}/api/status"
},
{
"id": "get-node-status-history",
"name": "获取节点状态历史",
"method": "GET",
"url": "{{baseUrl}}/api/status/history"
},
{
"id": "upload-test-file",
"name": "上传测试文件",
"method": "POST",
"url": "{{baseUrl}}/api/test/upload",
"headers": {
"Content-Type": "application/json"
}
},
{
"id": "get-storage-info",
"name": "获取存储信息",
"method": "GET",
"url": "{{baseUrl}}/api/test/storage-info"
},
{
"id": "get-all-files",
"name": "获取所有文件",
"method": "GET",
"url": "{{baseUrl}}/api/test/files"
},
{
"id": "get-node-info",
"name": "获取节点信息",
"method": "GET",
"url": "{{baseUrl}}/api/node/info"
}
]
}