I am working on Angular 5 and I am new to this. My requirement is to fetch the IP address of the end-user. I want to store the IP address of those users whose score is less than 0.5 (that is likely to be bot) so that I can blacklist the IP of low scorer users.
When I verifying the site recaptcha I am receiving json containing:
{
"action": "login",
"challenge_ts": "2020-11-24T06:48:33Z",
"hostname": "localhost",
"score": 0.9
}
Please let me know how can I fetch the IP of that user also. Any help will be appreciated.