Okhp3 Cloudflare Worker API Proxy

Create a Cloudflare Worker that proxies API calls from a static frontend to a keyed API, keeping the API key server-side. Use when a client-only app (GitHub Pages, Netlify, Cloudflare Pages) needs to call an API that requires an API key — and exposing that key in the JavaScript bundle is unacceptable. Covers Worker code, CORS headers, secret storage, and the client-side fetch pattern. Verify current Cloudflare pricing, quotas, and product behavior from official documentation before presenting them as guarantees.

OKHP3 1203053 6.9 KB Updated

File contents

OKHP3/skillz/tree/main/universal/okhp3-cloudflare-worker-api-proxy commit 1203053e04

Frequently asked questions

npx skillmds@latest add okhp3/okhp3-cloudflare-worker-api-proxy