REST Implementation and Test.