This is a minimal worker that verifies API keys using Cloudflare Workers
pnpm installIf you haven't already, initialize the worker.
pnpm wrangler initpnpm wrangler deployThis will output the URL of the worker. Let's use it to send a request.
Go to unkey.dev and create a new key. Then, send a request to the worker.
curl <URL_FROM_PREVIOUS_STEP> -H "Authorization: Bearer <KEY>"It should return a 200 reponse with some data about the key.