checking rest functions in servers