upload wasteof/example-64fa922ea5efdaee65509cce
This commit is contained in:
commit
a0a3c85aa8
|
@ -0,0 +1,7 @@
|
||||||
|
<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>
|
Loading…
Reference in New Issue