Pass response object to the onComplete callback