-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdemo.http
More file actions
35 lines (26 loc) · 786 Bytes
/
demo.http
File metadata and controls
35 lines (26 loc) · 786 Bytes
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
### 用于测试超时重试
GET http://localhost:8088/find/?timeout=1100
### 用于测试LoadBanlance
GET http://localhost:8088/api/?id=101
### 用于测试探活
GET http://localhost:8081/ports?ports=8082
### 用于测试Apollo配置中心的更新
GET http://localhost:8082/metas
### 测试config-man配置中心, 作者:ipman
GET http://localhost:8081/demo-config
### 获取用户信息
POST http://192.168.31.232:9081/rpcman
Content-Type: application/json
{
"service": "cn.ipman.rpc.demo.api.UserService",
"methodSign": "findById@1_int",
"args": [100]
}
### 获取订单信息
POST http://localhost:8080/
Content-Type: application/json
{
"service": "cn.ipman.rpc.demo.api.UserService",
"methodSign": "findById@2_int_java.lang.String",
"args": [200, "ipman"]
}