handle other type of rest response