Response Entity produces empty values. However, when I print on commandLineRunner it works well but gives empty JSON set when I check with postman. I suspect the issue is this c