Springboot-Microservice icon indicating copy to clipboard operation
Springboot-Microservice copied to clipboard

post request save data but shows empty response

Open prateekbansal63 opened this issue 4 years ago • 2 comments

post request save data but shows empty response Capture111

prateekbansal63 avatar Nov 20 '21 14:11 prateekbansal63

It is because the data is not saved in the database.. Try adding it to the database.. After a lot of research, I got a solution in the spring-boot website [(https://spring.io/guides/tutorials/rest/)] Add that DB which u have missed and launch the application.

Divya-Rukmani avatar Nov 30 '21 17:11 Divya-Rukmani

Data is getting added to h2 database and id is populating and other fields are null. I assume it is because of Lombok data support in STS.

Idimadakala avatar Feb 08 '22 11:02 Idimadakala