Fixing the POST request endpoints.