Implemented REST for Delete post