RESTful API correction.

RESTful API modified to use PUT, DELETE, POST and GET methods.