This is some sample code for RESTFull Web services