post method for vegetable controller