Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 322 Bytes

README.md

File metadata and controls

7 lines (5 loc) · 322 Bytes

Spring MVC POST Method Example

/api/users with GET - returns the List of User from the H2 Database via Spring JPA

/api/user with POST - creates the User in the H2 Database and returns the list of all Users from the Database

Sample

POST Sample: { "name": "Batu", "dept": "Technology", "salary": 15000 }