Infosys Interview Question

how can you secure APIs?