Springboot and Security updated in new version 3.0
{
"username": "rajesh",
"password": "password",
"roles": "ROLE_ADMIN,ROLE_USER",
"email":"[email protected]"
}
POST URL : http://localhost:8282/api/v1/employee/addNewEmployee
{
"id":1,
"firstName":"Rajesh",
"lastName":"Kawali",
"gender":"MALE",
"dateOfJoining":"2015-11-09",
"age":35,
"email":"[email protected]",
"phone":"9550955557",
"salary":45000,
"department":"software",
"employmentHistory":[
"Capgemini",
"Diebold",
"NCR"
]
}
GET URL : http://localhost:8282/api/v1/employee/1
Please run this all api in separate incognito mode.