1
0
Fork 0
random/wasteof/example-64fa922ea5efdaee655...

7 lines
306 B
HTML

<script type="module">
const resp = await fetch('https://api.wasteof.money/posts/64fa845c62c9b104f65962d4');
const json = await resp.json();
const contentElement = document.createElement('p');
contentElement.innerHTML = json.content;
document.body.appendChild(contentElement);
</script>