I am a new in JAVA/Springboot, I want to restrict POST rest api to access publicly.
Once user login successfully, the API is currently accessible publicly and able to add update data. I want to restrict it and only accessible privately.My aim is to restrict unauthorised user to add or update data publicly and it should be privatly accessible.
Thank You...