var settings = { “url”: “https://api.countrylayer.com/v2/all ? access_key = ((YOUR_ACCESS_KEY))”, “method”: “GET”, “timeout”: 0, }; $.ajax(settings).done(function (response) { console.log (response); });