Northwind Tickets Waitrooms sample 2 · server-side · room demo-tickets

Finals: general admission

This page is public. The checkout and the purchase API are checked on the server: without a Waitrooms pass, the checkout page is never sent, and the API answers 403.

Section 114 · Row G · $95

Get tickets
The integration, in this Worker
const blocked = await gate(request, { room: "demo-tickets" });
if (blocked) return blocked;   // to the waiting room, or storing a fresh pass