Integrate a Public GET API and Transform Results

Problem: Call a Public GET API and Transform the Result

Given a public HTTP GET endpoint:

  • GET https://example.com/api/items?userId={userId}
  • It returns a JSON array, each element like:

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: