Skip to content

Commit 2317502

Browse files
authored
Create readme.md
1 parent 18e9abb commit 2317502

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Feign Client with APIGW
2+
3+
- Eureka: http://localhost:8761/
4+
5+
<img width="1402" alt="Screenshot 2022-12-26 at 1 50 36 PM" src="https://user-images.githubusercontent.com/54174687/209524123-92b3e43e-a094-451e-b378-288dbbc47f40.png">
6+
7+
-------
8+
9+
HTTP GET:
10+
11+
```sh
12+
curl --location --request GET 'http://localhost:9090/student-service/api/student/getById/1' \
13+
--header 'Authorization: ABC'
14+
```
15+
16+
Response:
17+
18+
```json
19+
{
20+
"id": 1,
21+
"firstName": "Raj",
22+
"lastName": "Dave",
23+
"email": "raj_dave@yahoo.com",
24+
"addressResponse": {
25+
"addressId": 1,
26+
"street": "Delhi",
27+
"city": "Happy Street"
28+
}
29+
}
30+
```

0 commit comments

Comments
 (0)