JSFiddle - React, Tailwind, and code Playground
JavaScript
$.ajax({
url: "https://api.clockwisemd.com/v1/hospitals",
type: "GET",
dataType:"application/json",
success: function(xml, textStatus, xhr) {
console.log(arguments);
console.log(xhr.status);
},
complete: function(xhr, textStatus) {
console.log(xhr.status);
}
});