General

Report CSP violations

Changed on
post/api/v2/csp/reports

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/csp/reports
  • Auth
    API key in header Coder-Session-Token

Request body

csp-reportobject

Response

OK

Changes