Go to Spring Initializr.
Fill in the details as per the requirements.
Click on Generate which will download the starter project.
Extract the zip file.
Create a java class with the name Controller and add the annotation.
Go to the Postman and add URL address and make put request.