JSFiddle - React, Tailwind, and code Playground
JavaScript
$.ajax({
type: "GET",
dataType: "jsonp",
url: "https://swapi.co/api/people/",
success: function(data){
console.log(data);
}
});
$.ajax({
type: "GET",
dataType: "jsonp",
url: "https://swapi.co/api/people/",
success: function(data){
console.log(data);
}
});