$.ajax({ url: "https://api.exemple.com/data", method: "GET", success: function (data) { console.log(data); }, });