How to resend email verification link from frontend(react)

can somebody please help me with how to resend email verification from front end in React?

There should be a webpage template that is displayed in case of an expired token. That should give you a hint. The link triggers another email to be sent.


Here is how to do it:

      const response = await fetch(
          method: "POST",
          headers: { "Content-Type": "application/json" },
          body: JSON.stringify({ username: }),