Give doRequest callback functionality