const { chromium } = require('@playwright/test'); (async () => { const browser = await chromium.launch(); const ctx = await browser.newContext(); // Try /api/lehrplan if it exists publicly const r = await ctx.request.get('https://geograsim.at/api/lehrplan'); const txt = await r.text(); console.log('lehrplan API status:', r.status()); if (r.status() === 200) { try { const j = JSON.parse(txt); const anchors = j.anchors || j.kompetenzen || j; console.log('Sample keys:', Array.isArray(anchors) ? `array ${anchors.length}` : Object.keys(anchors).slice(0,5)); } catch { console.log('not json, head:', txt.substring(0,200)); } } await browser.close(); })();