Custom HTTP Headers
X-Clover-Save-Run-Record
Data Services accept a custom HTTP header X-Clover-Save-Run-Record
.
The possible values of the header are TRUE
and FALSE
(case insensitive).
This header overrides the endpoint’s configuration to save the run record or not.
When testing Data Service from the Data App tab, this header is sent with TRUE
value.
Testing Data Service from Designer creates a record in Execution History regardless of it being published or not.
X-Clover-Error-Message
In case of an error, the value of the X-Clover-Error-Message
header determines whether the error message is sent back to the client.
The possible values of the header are TRUE
and FALSE
(case insensitive).
Data Service executed via Data App automatically sends the header with the value set to true. The error message is then displayed in the Debug details section.