Implemented PUT and POST