master
km0 3 years ago
commit c4c3900448

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<script src="script.js" defer></script>
</head>
<body>
Hello
</body>
</html>

@ -0,0 +1,8 @@
let page = "Padliography";
let endpoint = `https://pzwiki.wdka.nl/mw-mediadesign/api.php?action=parse&format=json&origin=*&page=${page}&prop=text`;
fetch(endpoint)
.then((response) => response.json())
.then((data) => {
console.log(data);
});
Loading…
Cancel
Save