Unthinkable Interview Question

How do you create apis in SpringBoot?