- HTTP GET
curl --location --request GET 'http://localhost:9090/student-service/api/student/getById/1' \
--header 'Authorization: ABC'
Response:
{
"id": 1,
"firstName": "Raj",
"lastName": "Dave",
"email": "raj_dave@yahoo.com",
"addressResponse": {
"addressId": 1,
"street": "Delhi",
"city": "Happy Street"
}
}