JSFiddle - React, Tailwind, and code Playground
by zdam
HTML
<button id="btnDebug">Debugging Button</button>
JavaScript
$(function () {
$("#btnDebug").click(function () {
$.ajax({
type: 'GET',
//contentType: 'application/json; charset=utf-8',
url: 'http://adamapi:[email protected]/api/external/heatmap',
//url: 'http://010102.de/api/external/heatmap',
dataType: 'json',
//username: 'adamapi',
//password: 'api123adam',
crossDomain: true,
//xhrFields: {
// withCredentials: true
//},
success:
function (data) {
var f = '';
},
error:
function (d, a) {
var ss = '';
}
});
});
});