Wipro Interview Question

How to optimize api for your application?