I have implemented two endpoints:
Post - /users/ #endpoint to add a user
Post - /confirmemail/ #endpoint to confirm email
Now I have function implemented for both endpoints, But I am thinking of calling the email endpoint after adding the user, directly. How can I achieve this in Fastapi?