-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrequets.http
60 lines (43 loc) · 1.05 KB
/
requets.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
### Common
GET http://localhost:8000/ready HTTP/1.1
###
GET http://localhost:8001/ready HTTP/1.1
###
GET http://localhost:8002/ready HTTP/1.1
### --------------------------------------------------
POST http://localhost:8000/setParameter HTTP/1.1
content-type: application/json
{
"port":"8080"
}
###
POST http://localhost:8001/setParameter HTTP/1.1
content-type: application/json
{
"port":"8080"
}
###
POST http://localhost:8002/setParameter HTTP/1.1
content-type: application/json
{
"port":"8080"
}
### -------------------------------------------------
GET http://localhost:8000/setParameter?port=8080 HTTP/1.1
### Client
GET http://localhost:8000/getWrongTrace/1/c074d0a90cd607b HTTP/1.1
### Bad request
GET http://localhost:8000/getWrongTrace/2/c074d0a90cd607b HTTP/1.1
### Backend
POST http://localhost:8002/setParameter HTTP/1.1
content-type: application/json
{
"port":"8080"
}
###
POST http://localhost:8002/setWrongTraceId HTTP/1.1
content-type: application/json
{
"batchNo": 1,
"records": ["c074d0a90cd607b", "185d362e55d2c8ec"]
}