Added exception for post method