JSFiddle - React, Tailwind, and code Playground

by Rouzbeh Hz

HTML

<script>

    var proxyUrl = 'https://cors-anywhere.herokuapp.com/',
        targetUrl = 'https://api.tibiadata.com/v2/characters/Burdeliusz.json'
    fetch(proxyUrl + targetUrl)
      .then(blob => blob.json())
      .then(data => {
        console.table(data);
        document.querySelector("body").innerHTML = JSON.stringify(data, null, 2);
      })
      .catch(e => {
        console.log(e);
        return e;
      });

</script>