Skip to content

caopengau/demo-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo-api

To see the full step by step guide here https://medium.com/@caopengau/vs-code-java-springboot-a-step-by-step-guide-beb61a4eb70c

Run the project

Visit http://localhost:8080/ to see the helloworld response

Make post request to http://localhost:8080/ with below json body

{
  "transactionId": "111",
  "customers": [
    {
      
      "name": "Alert",
      "age": 72
    }
  ]
}

to see it transformed to

{
  "transactionId": "111",
  "tickets": [
    {
      "ticketType": "Senior",
      "quantity": 1,
      "totalCost": 17.5
    }
  ],
  "totalCost": 17.5
}

1_-98btCURBMb5aHPTENcJ-Q

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages