Sobes.tech
Middle+

Implement a request function: it calls getData, returns a successful result, and retries the call up to a specified number of attempts, returning the last error after attempts are exhausted.