Skip to content

Commit ef5c4aa

Browse files
Update README.md
1 parent 8f63ce0 commit ef5c4aa

File tree

1 file changed

+32
-5
lines changed

1 file changed

+32
-5
lines changed

README.md

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)