Implemented POST and PUT