Adjusted the post method