Implement post method for paste controller.