Skip to content
HALOWERK

Sicherwerk

cors preflight policy check

Return CORS preflight method, origin and header decisions for a supplied response policy. Local policy only.

POST https://sicher.halowerk.com/v1/cors-preflight-policy-check

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
originstringYes
methodstringYes
request_headersarrayYes
allow_originstringYes
allow_methodsarrayYes
allow_headersarrayYes
credentialsbooleanYes
allow_credentialsbooleanYes
Show full input schema
{
  "type": "object",
  "properties": {
    "origin": {
      "type": "string",
      "maxLength": 256,
      "minLength": 1
    },
    "method": {
      "type": "string",
      "maxLength": 20,
      "minLength": 1
    },
    "request_headers": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 256,
        "minLength": 1
      },
      "maxItems": 20,
      "minItems": 0
    },
    "allow_origin": {
      "type": "string",
      "maxLength": 256,
      "minLength": 1
    },
    "allow_methods": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 256,
        "minLength": 1
      },
      "maxItems": 20,
      "minItems": 0
    },
    "allow_headers": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 256,
        "minLength": 1
      },
      "maxItems": 20,
      "minItems": 0
    },
    "credentials": {
      "type": "boolean"
    },
    "allow_credentials": {
      "type": "boolean"
    }
  },
  "required": [
    "origin",
    "method",
    "request_headers",
    "allow_origin",
    "allow_methods",
    "allow_headers",
    "credentials",
    "allow_credentials"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "origin": "https://halowerk.com",
  "method": "POST",
  "request_headers": [
    "content-type"
  ],
  "allow_origin": "*",
  "allow_methods": [
    "POST"
  ],
  "allow_headers": [
    "content-type"
  ],
  "credentials": false,
  "allow_credentials": false
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’