1) add receipient ( sending > overview )
2) go to email and check the mail
3) activate account
Solution: go to the email address and check the activation mail, After this, you will be able to make usage of test version of mailgun
I have to get token from url, and decode it and save user data into DB
situation is, even if I go into this link, through url in mail, this page is not receiving token info.
That is, I have to get params from the link
Solution : Getting param from the link " /:token"
Additional problem is that, even if I get the params, from the "GET" Method, I have to send it to "POST" Method.....
It is complicated, So Other Solution is
GETTING URL BY JAVASCRIPT AND SEND IT TO POST
"getting current url of page in JS"
There are Several Checklist you have to look upon
1) insert all the value to the token when you make the token : It can prevent Validation Error
2) send by proper form in html
That, is Several Code is responding simultaneously... even if I gave the conditions on it
Solution
I was requesting post twice, first by "form tag", and second by "js"
So I changed "form" tag to "div" tag, and request only once
"res.status is not a function"
as you see the place of "req" and "res" is changed