Get users
Get all users on page 2 https://reqres.in/api/users?page=2
$.getJSON("https://reqres.in/api/users",{page:2},(function(e){console.log("users",e);let s="";e.data.forEach(e=>{s+=`\n <div class="card">\n <img src="${e.avatar}" class="section media">\n <div class="section">\n <p>${e.first_name} ${e.last_name}<br>\n <a href="mailto:${e.email}">${e.email}</a>\n </p>\n </div>\n </div>`}),$("#users").html(s)})).catch((function(e){console.error("API not resolved!",e)})).always((function(){console.log("Request completed with success or error callback arguments")}));
//# sourceMappingURL=get.js.map