Hexaware Technologies Interview Question

How to make api secure