File tree 1 file changed +32
-0
lines changed
05.Using-apigw-with-feign-client
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
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
+ ```
31
+
32
+ <img width =" 1261 " alt =" Screenshot 2022-12-26 at 1 51 54 PM " src =" https://user-images.githubusercontent.com/54174687/209524293-d06e180e-2b01-4ccd-9c96-0d0a43abb87c.png " >
You can’t perform that action at this time.
0 commit comments