Accepts a single CSP violation report.
POST
/api/hpp/csp-report
deprecated
No permission required.
Returns 204 No Content on a successful intake, 400 for an unparseable payload, 413 when the body exceeds PhoeniXGate.HostedPaymentPage.HppCspReportController.MaxBodyBytes, and 415 when the Content-Type is not one of the accepted CSP report media types.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
suppressNulls
required |
query | boolean | If true, omit properties with null values. |
Request body
application/json
, required
| Field | Type | Description |
|---|
This request body has no documented fields.
Responses
204 No Content
| Field | Type | Description |
|---|
This response has no documented body fields.
400 Bad Request
| Field | Type | Description |
|---|
This response has no documented body fields.
413 Content Too Large
| Field | Type | Description |
|---|
This response has no documented body fields.
415 Unsupported Media Type
| Field | Type | Description |
|---|
This response has no documented body fields.
default The request failed. The body carries the standard error envelope: a machine-readable `error.code`, a human-readable `error.message`, and `error.validationErrors` when the failure was a validation rejection. See the error-code reference in this document's description for the values `error.code` can take.
| Field | Type | Description |
|---|
This response has no documented body fields.
Errors
A failed request returns the platform error envelope. The
error reference lists every value
error.code can carry and shows the four response shapes.