Modifying getWorkouts() to use the HTTPClient module