JSFiddle - React, Tailwind, and code Playground
JavaScript
$.ajax({
url: 'https://wbl.me/webblocks.co/app/api/v0/directory/search?search=riegel',
type: "GET",
dataType: "json",
success: function (response) {
console.log(response);
alert(response.persons[0].first);
},
error: function (xhr, status) {
alert("error");
}
})