'rest demo both http and resource'