Implement rest method which delete post