API Endpoints
You can build JSON routes with Mochi.api().
+
Click an endpoint to test it
<script>
import ApiTester from './ApiTester.svelte';
import { files } from './files.ts';
const sources = await loadSources(files);
</script>
<ApiTester mochi:hydrate />
More demos