Given an endpoint URL, generate: Report-To header, Content-Security-Policy-Report-Only header, and a clean enforce CSP. Client-side only.
Tip: Start with Report-Only for a day, then enforce once violations are handled.
Generate a sample CSP report payload + curl POST so you can validate your endpoint before waiting for real violations.