Build a Resilient HTTP API Client

Problem: Build a Resilient HTTP API Client

Using Python, implement fetch_json(url, max_retries=3) to call a REST API with an HTTP GET request and return the JSON response body.

Handle the fol...

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: