-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresquest.http
More file actions
53 lines (43 loc) · 1.25 KB
/
resquest.http
File metadata and controls
53 lines (43 loc) · 1.25 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
49
50
51
52
53
### cloud-config-server
GET http://127.0.0.1:8090/actuator/health
### eureka server
GET http://127.0.0.1:8761/actuator/health
### gateway-server
GET http://127.0.0.1:8080/actuator/health
### gateway-server status
GET http://127.0.0.1:8080/api/v1/status
### products-command
GET http://127.0.0.1:8090/actuator/health
### products-query
POST http://127.0.0.1:8091/actuator/refresh
### cloud-config-server
POST http://127.0.0.1:8090/actuator/refresh
### eureka server
POST http://127.0.0.1:8761/actuator/refresh
### gateway-server
POST http://127.0.0.1:8080/actuator/refresh
### products-command
POST http://127.0.0.1:8090/actuator/refresh
### products-query
POST http://127.0.0.1:8091/actuator/refresh
###
POST http://127.0.0.1:8090/api/v1/commands/products
Content-Type: application/json
{
"price": 999,
"name": "iPhone 16"
}
<> 2025-03-26T144644.200.json
###
GET http://127.0.0.1:8091/api/v1/queries/products
###
DELETE http://127.0.0.1:8091/api/v1/commands/products/ffe7969a-4e2d-4db3-9d78-3752e9d2ef1c
########################### throuth gateway ####################################
GET http://127.0.0.1:8080/api/v1/queries/products
###
POST http://127.0.0.1:8080/api/v1/commands/products
Content-Type: application/json
{
"price": 999,
"name": "iPhone 16"
}