Question d’entretien chez Infosys

How would you test this API endpoint?