Add rest response check