resolve with object.data and object.xhr