Skip to content

bakiaktas/spring-mvc-post-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 }

Releases

No releases published

Packages

No packages published

Languages