Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 399 Bytes

File metadata and controls

24 lines (20 loc) · 399 Bytes

Using APIGW

  1. 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"
    }
}