$.getJSON('https://api.db-ip.com/v2/free/self', function(data) {
info_location = JSON.stringify(data, null, 2);
alert(info_location)
}
My code works as you can see, but I want some way to get the provider (isp), how can I get this with javascript?
You don't need to stringify the data, but if you look at the response from the URL in your browser, ISP information is not there.
If you wanted IP address, then you would do
alert(data.ipAddress);