Skip to content

Commit eeccd74

Browse files
authored
Update readme.md
1 parent 431638d commit eeccd74

File tree

1 file changed

+26
-1
lines changed
  • 01.basic-microservices-with-webclient

1 file changed

+26
-1
lines changed

01.basic-microservices-with-webclient/readme.md

+26-1
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,34 @@ Response:
1515
"city": "Nagpur"
1616
}
1717
```
18+
---
19+
20+
2) Http GET
21+
22+
```
23+
http://localhost:8080/api/student/getById/1
24+
```
25+
26+
Response:
27+
28+
```json
29+
{
30+
"id": 1,
31+
"firstName": "Raj",
32+
"lastName": "Dave",
33+
"email": "raj_dave@yahoo.com",
34+
"addressResponse": {
35+
"addressId": 1,
36+
"street": "Delhi",
37+
"city": "Happy Street"
38+
}
39+
}
40+
```
41+
42+
1843
----
1944

20-
2) Http Post - create address
45+
3) Http Post - create address
2146

2247
```
2348
curl --location --request POST 'http://localhost:8082/api/address/create' \

0 commit comments

Comments
 (0)