Save progress: refactor ecs.Client.CallAPI() for easy using