Only attempt to add the getDataOnly method when there is a response