Cloudflare Docs
Workers
Edit this page
Report an issue with this page
Log into the Cloudflare dashboard
Set theme to dark (⇧+D)

Examples

2 examples

  • Allow or deny a request based on a known pre-shared key in a header. This is not meant to replace the WebCrypto API.
  • Shows how to restrict access using the HTTP Basic schema.