datastore/request: handle API response with util.handleResp