NTT DATA Interview Question

Consume an api and show the result