How do I fetch the data in the response-variable. In the debugger I can see all the data sent back (image) but how do I fetch the information from Object?
function getUserList() {
$.ajax({
url: "https://reqres.in/api/users",
type: "POST",
data: {
name: "paul rudd",
movies: ["I Love You Man", "Role Models"]
},
success: function(response) {
console.log(response);
}
});
}
I am following the example at