I have an email verification URL. in which I have a user ID and a token. I can not figure it out that how I can extract user ID and token from the URL and also don't know how to set Route path for this URL.
http://localhost:3000/users/verify?user_id=1234565789&token=1234567689
You would have noticed a ? and an &. I want the values of ?user_id and &token, and set their route paths.
I am using React-router-dom v6