Capgemini interview question

Implement a POST API using spring boot.