How to get Client IP address in Angular JS using external APIs? I always get response as "" ? The browser I am using is BRAVE
I need to get client API from Angular frontend and send it back to Backend(SPRINGBOOT). I tried many external APIs but I am getting "" as response data. How to get response in AngularJS? I am using the below code to get API response.
I tried http://jsonip.com?callback=? . It works well in browser and postman, but while I try console.log(response.data) the output is ""
$http.get("randomeOnlineAPI").then(handleSuccess, handleRemoteError);
I need to get API response and then send back the received ip to backend.