Skip to content

Commit a6e0e68

Browse files
authored
Create readme.md
1 parent 173a037 commit a6e0e68

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

05.Using-apigw-part1/readme.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Using APIGW
2+
3+
1) HTTP GET
4+
5+
```sh
6+
curl --location --request GET 'http://localhost:9090/student-service/api/student/getById/1' \
7+
--header 'Authorization: ABC'
8+
```
9+
10+
Response:
11+
12+
```json
13+
{
14+
"id": 1,
15+
"firstName": "Raj",
16+
"lastName": "Dave",
17+
"email": "raj_dave@yahoo.com",
18+
"addressResponse": {
19+
"addressId": 1,
20+
"street": "Delhi",
21+
"city": "Happy Street"
22+
}
23+
}
24+
```

0 commit comments

Comments
 (0)