web
Generate HTTP security headers
Generate HTTP security headers (HSTS, Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, COOP/COEP/CORP) from a named preset or a full config. Returns the header list plus ready-to-paste outputs for Nginx, Apache, Caddy, Cloudflare, _headers files, and raw header lines. Pure compute — no network calls.
post/security-headers/generate
Request
- Base URL: https://intodns.ai/api
- URL: https://intodns.ai/api/security-headers/generate
- Auth: none required
Request body
Example request
{
"preset": "recommended"
}Response
Security headers generated
Example response
{
"headers": [
{
"name": "Strict-Transport-Security",
"value": "max-age=31536000; includeSubDomains"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.