Guestbook

A working demo of zfb + Cloudflare Workers KV — server-rendered pages, real KV reads and writes, deployed on Workers.

Post anything, and delete any entry with the button beside it. Deletion is open here so you can try the whole loop. A real guestbook would not do that, which is why the DELETE /api/entries/<key> endpoint below still requires an admin token — that endpoint is the part worth copying.

Sign the guestbook

240 characters max

Entries

  • test post boo

API

DELETE requires Authorization: Bearer <ADMIN_TOKEN>. The Delete buttons above post to this page instead, which is why they work without one.

GET /api/entriesPOST /api/entriesDELETE /api/entries/<key>