Cognizant Interview Question

Produce the data from api in a table

Interview Answer

Anonymous

Jun 18, 2026

I would consume the API using an HTTP client (requests/httpx), parse the JSON response, extract the required fields, and render them in a table using HTML, pandas DataFrame, or a frontend framework depending on the application.