Unthinkable interview question

How do you create apis in SpringBoot?