File tree Expand file tree Collapse file tree 1 file changed +32
-5
lines changed
Expand file tree Collapse file tree 1 file changed +32
-5
lines changed Original file line number Diff line number Diff line change @@ -93,11 +93,38 @@ spring:
9393 filters:
9494 - StripPrefix=1
9595```
96- <div >
97- <span>Navigate to <a href="http://localhost:9500/jio/customers">jio gateway</a> for jio service </span><br>
98- <span>Navigate to <a href="http://localhost:9500/airtel/customers">airtel gateway</a> for airtel service </span><br>
99- <span>Navigate to <a href="http://localhost:9500/vodaphone/customers">vodaphone gateway</a> for airtel service </span>
100- </div >
96+
97+ ```
98+ $ curl http://localhost:9500/jio/customers
99+
100+ [
101+ {
102+ "customerName": "barath-jio",
103+ "customerAge": 25,
104+ "customerGender": "MALE"
105+ }
106+ ]
107+
108+ $ curl http://localhost:9500/airtel/customers
109+
110+ [
111+ {
112+ "customerName": "barath-airtel",
113+ "customerAge": 25,
114+ "customerGender": "MALE"
115+ }
116+ ]
117+
118+ $ curl http://localhost:9500/vodaphone/customers
119+
120+ [
121+ {
122+ "customerName": "barath-vodaphone",
123+ "customerAge": 25,
124+ "customerGender": "MALE"
125+ }
126+ ]
127+ ```
101128
102129
103130#### Header based routing strategy
You can’t perform that action at this time.
0 commit comments