Iam developing an spring boot based web application. thyme leaf is the template used .Currently csrf is enabled in my application. what i did was created a rest controller a