Cloudflare API Shield demo

Small, strict, and easy to probe.

This Node app exposes a few predictable endpoints with a matching OpenAPI schema so you can put Cloudflare API Shield in front of it and test schema validation, endpoint management, and logging.

Schema

/openapi.json

Valid order example

curl -X POST https://api.namedsagoe.com/v1/orders \
  -H 'Content-Type: application/json' \
  -H 'X-Demo-Client: api-shield-demo' \
  -d '{
    "customerId": "cus_1001",
    "items": [
      { "sku": "sku_keyboard_01", "quantity": 1 }
    ],
    "note": "Create a valid order"
  }'