Server side REST Implementation