Web Test Online

Reporting API Test

Test the browser Reporting API with proper HTTP headers. The Reporting API requires server-sent headers (not meta tags) to work correctly with Chrome DevTools.

Required HTTP Headers

Reporting-Endpoints: csp-endpoint="https://your-endpoint.com/report"
Content-Security-Policy: default-src 'self'; report-to csp-endpoint

Note: report-uri and Report-To headers via meta tags are ignored by browsers.

Open CSP Test Page

How to verify in Chrome DevTools:

  1. Open DevTools (F12)
  2. Go to Application tab
  3. Find Reporting API in the left sidebar
  4. Trigger violations and watch reports appear

Custom Endpoint Setup

To use your own reporting endpoint, edit the public/_headers file and update the Reporting-Endpoints URL. Use services like Webhook.site to receive reports.