-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpkslow.http
75 lines (52 loc) · 1.18 KB
/
pkslow.http
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
GET http://47.99.93.97/api/acjson/layui
?seachdata=1
&size=1
&limt=10
# 单个#号用来标记注释
POST http://47.99.93.97/api/mock/sys/login
content-type: application/json
{
"username": "supadmin",
"password": "12345677e"
}
# 单个#号用来标记注释
POST http://dummy.restapiexample.com/api/v1/create
content-type: application/json
{
"name":"Hendry",
"salary":"61888",
"age":"26"
}
# 单个执行
POST http://27.154.242.142:9786/prod-api/
content-type: application/json
{
"name":"Hendry",
"salary":"61888",
"age":"26"
}
# 单个#号用来标记注释
# 获取github
GET http://localhost:3000/v1
GET http://localhost:3000/v1/test
# 错误测试
GET http://localhost:3000/v1/err
GET http://localhost:3000/v1?name=张三&age=18
GET http://localhost:3000/v1/user
POST http://localhost:3000/v1/user
content-type: application/json
{
"id": 6,
"name": "adamin",
"passowrd": "12dd3456",
"nick_name": "tydsdf"
}
// 查询用户
POST http://localhost:3000/v1/employee/login
content-type: application/json
{
"username": "12dd3456",
"passowrd": "12dd3456"
}
// 查询用户
GET http://localhost:3000/v1/employee/test