Difference between revisions of "Widget:Homepage"
From LINKS Community Center
Line 105: | Line 105: | ||
<script> | <script> | ||
− | fetch('/api.php?action= | + | var query = '[[Category:Social media platform]]'; |
− | + | fetch('/api.php?action=ask&format=json&query=' + encodeURIComponent(query)) | |
− | + | .then(response => response.json()) | |
+ | .then(data => console.log(data)) | ||
</script> | </script> | ||
Revision as of 11:32, 2 June 2022
Development verstion of the DCT Homepage.
Not ready for production!