Skip to main content

Default request

These parameters define the default request configuration.

services.CoAuthoring.requestDefaults.rejectUnauthorized

Type: boolean Default: true

When true, TLS certificates are verified; set false only for diagnostics with self-signed or invalid certificates

services.CoAuthoring.requestDefaults.headers

Type: object

Default HTTP headers added to every outgoing request.

services.CoAuthoring.requestDefaults.headers.User-Agent

Type: string Default: "Node.js/6.13"

HTTP User-Agent header sent with outgoing requests.

services.CoAuthoring.requestDefaults.headers.Connection

Type: string Default: "Keep-Alive"

HTTP Connection header controlling keep-alive behaviour for outgoing requests.

Example

{
"services": {
"CoAuthoring": {
"requestDefaults": {
"headers": {
"User-Agent": "Node.js/6.13",
"Connection": "Keep-Alive"
},
"rejectUnauthorized": true
}
}
}
}