n; charset=UTF-8',
        },
        body: jsonData
      }).then(resp => resp.json()).then(resp => {
        document.getElementById("body").setAttribute("hidden", "");
      });
    }

    window.addEventListener("message", (data) => {
      document.getElementById("body").removeAttribute("hidden");
      document.getElementById("output").innerText = JSON.stringify(data.data);
    })
  </script>
</body>


</html>